This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Add a permission into the resource based policy

1 - 1.3

scpcli iam permission add
--srn <value>
--effect <value>
[--action <value>]
[--condition <value>]
[--notaction <value>]
[--principal <value>]
[--resource <value>]
[--sid <value>]

Description

Add a permission into the resource based policy

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
srn
required
stringSamsung Resource Namec3JuOmRldjI6OjEyMzQ1Njc4OTAxMDIzNDU2OTA6a3Itd2VzdDE6OnZpcnR1YWxzZXJ2ZXI6dmlydHVhbC1zZXJ2ZXIvYWJjZGUtMTIzNC01NTU1LTY2NjY=
effect
required
stringEffectAllow
action
optional
arrayActionvirtualserver:ShowVirtualServer
condition
optional
objectCondition{'StringEquals': {'scp:RequestedRegion': ['kr-west1']}}
notaction
optional
arrayNotAction-
principal
optional
stringPrincipal*
resource
optional
arrayResourcesrn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666
sid
optional
stringStatement IdStatement1

Responses

NameDescriptionExample
StatementStatement{‘Action’: [‘virtualserver:ShowVirtualServer’], ‘Condition’: {‘StringEquals’: {‘scp:RequestedRegion’: [‘kr-west1’]}}, ‘Effect’: ‘Allow’, ‘Principal’: ‘*’, ‘Resource’: [‘srn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666’], ‘Sid’: ‘Statement1’}

2 - 1.2

scpcli iam permission add
--srn <value>
--effect <value>
[--action <value>]
[--condition <value>]
[--notaction <value>]
[--principal <value>]
[--resource <value>]
[--sid <value>]

Description

Add a permission into the resource based policy

State ACTIVE (SUPPORTED)

VersionNot Before
1.220260930

Parameters

NameTypeDescriptionExample
srn
required
stringSamsung Resource Namec3JuOmRldjI6OjEyMzQ1Njc4OTAxMDIzNDU2OTA6a3Itd2VzdDE6OnZpcnR1YWxzZXJ2ZXI6dmlydHVhbC1zZXJ2ZXIvYWJjZGUtMTIzNC01NTU1LTY2NjY=
effect
required
stringEffectAllow
action
optional
arrayActionvirtualserver:ShowVirtualServer
condition
optional
objectCondition{'StringEquals': {'scp:RequestedRegion': ['kr-west1']}}
notaction
optional
arrayNotAction-
principal
optional
stringPrincipal*
resource
optional
arrayResourcesrn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666
sid
optional
stringStatement IdStatement1

Responses

NameDescriptionExample
StatementStatement{‘Action’: [‘virtualserver:ShowVirtualServer’], ‘Condition’: {‘StringEquals’: {‘scp:RequestedRegion’: [‘kr-west1’]}}, ‘Effect’: ‘Allow’, ‘Principal’: ‘*’, ‘Resource’: [‘srn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666’], ‘Sid’: ‘Statement1’}

3 - 1.1

scpcli iam permission add
--srn <value>
--effect <value>
[--action <value>]
[--condition <value>]
[--notaction <value>]
[--principal <value>]
[--resource <value>]
[--sid <value>]

Description

Add a permission into the resource based policy

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.120260531

Parameters

NameTypeDescriptionExample
srn
required
stringSamsung Resource Namec3JuOmRldjI6OjEyMzQ1Njc4OTAxMDIzNDU2OTA6a3Itd2VzdDE6OnZpcnR1YWxzZXJ2ZXI6dmlydHVhbC1zZXJ2ZXIvYWJjZGUtMTIzNC01NTU1LTY2NjY=
effect
required
stringEffectAllow
action
optional
arrayActionvirtualserver:ShowVirtualServer
condition
optional
objectCondition{'StringEquals': {'scp:RequestedRegion': ['kr-west1']}}
notaction
optional
arrayNotAction-
principal
optional
stringPrincipal*
resource
optional
arrayResourcesrn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666
sid
optional
stringStatement IdStatement1

Responses

NameDescriptionExample
StatementStatement{‘Action’: [‘virtualserver:ShowVirtualServer’], ‘Condition’: {‘StringEquals’: {‘scp:RequestedRegion’: [‘kr-west1’]}}, ‘Effect’: ‘Allow’, ‘Principal’: ‘*’, ‘Resource’: [‘srn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666’], ‘Sid’: ‘Statement1’}

4 - 1.0

scpcli iam permission add
--srn <value>
--effect <value>
[--action <value>]
[--condition <value>]
[--notaction <value>]
[--principal <value>]
[--resource <value>]
[--sid <value>]

Description

Add a permission into the resource based policy

State ACTIVE (DEPRECATED)

Deprecated versions with Not Before dates that have arrived or expired are no longer supported. We recommend using the latest version.

VersionNot Before
1.020260223

Parameters

NameTypeDescriptionExample
srn
required
stringSamsung Resource Namec3JuOmRldjI6OjEyMzQ1Njc4OTAxMDIzNDU2OTA6a3Itd2VzdDE6OnZpcnR1YWxzZXJ2ZXI6dmlydHVhbC1zZXJ2ZXIvYWJjZGUtMTIzNC01NTU1LTY2NjY=
effect
required
stringEffectAllow
action
optional
arrayActionvirtualserver:ShowVirtualServer
condition
optional
objectCondition{'StringEquals': {'scp:RequestedRegion': ['kr-west1']}}
notaction
optional
arrayNotAction-
principal
optional
stringPrincipal*
resource
optional
arrayResourcesrn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666
sid
optional
stringStatement IdStatement1

Responses

NameDescriptionExample
StatementStatement{‘Action’: [‘virtualserver:ShowVirtualServer’], ‘Condition’: {‘StringEquals’: {‘scp:RequestedRegion’: [‘kr-west1’]}}, ‘Effect’: ‘Allow’, ‘Principal’: ‘*’, ‘Resource’: [‘srn:dev2::1234567890102345690:kr-west1::virtualserver:virtual-server/abcde-1234-5555-6666’], ‘Sid’: ‘Statement1’}