PolicyAttachmentProps
Properties for defining a PolicyAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-resourcemanager-policyattachment
Initializer
using AlibabaCloud.SDK.ROS.CDK.Resourcemanager;
new PolicyAttachmentProps {
object PolicyName,
object PolicyType,
object PrincipalName,
object PrincipalType,
object ResourceGroupId = null
};
Properties
Name | Type | Description |
---|---|---|
PolicyName |
object |
Property policyName: The name of the policy. |
PolicyType |
object |
Property policyType: The type of the policy. |
PrincipalName |
object |
Property principalName: The name of the object to which you want to attach the policy. |
PrincipalType |
object |
Property principalType: The type of the object to which you want to attach the policy. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs. |
PolicyName
Required
public object PolicyName { get; set; }
- Type: object
Property policyName: The name of the policy.
PolicyType
Required
public object PolicyType { get; set; }
- Type: object
Property policyType: The type of the policy.
PrincipalName
Required
public object PrincipalName { get; set; }
- Type: object
Property principalName: The name of the object to which you want to attach the policy.
PrincipalType
Required
public object PrincipalType { get; set; }
- Type: object
Property principalType: The type of the object to which you want to attach the policy.
Valid values: IMSUser: RAM user, IMSGroup: RAM user group, ServiceRole: RAM role
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group or the ID of the Alibaba Cloud account to which the resource group belongs.