Class PolicyArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Ram
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class PolicyArgs : ResourceArgs
Constructors
View SourcePolicyArgs()
Declaration
public PolicyArgs()
Properties
View SourceDescription
Description of the RAM policy. This name can have a string of 1 to 1024 characters.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Document
Document of the RAM policy. It is required when the statement is not specified.
Declaration
public Input<string> Document { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Force
This parameter is used for resource destroy. Default value is false.
Declaration
public Input<bool> Force { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Name
Name of the RAM policy. This name can have a string of 1 to 128 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Statements
(It has been deprecated from version 1.49.0, and use field 'document' to replace.) Statements of the RAM policy document. It is required when the document is not specified.
Declaration
[Obsolete("Field 'statement' has been deprecated from version 1.49.0, and use field 'document' to replace. ")]
public InputList<PolicyStatementArgs> Statements { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<PolicyStatementArgs> |
Version
(It has been deprecated from version 1.49.0, and use field 'document' to replace.) Version of the RAM policy document. Valid value is 1. Default value is 1.
Declaration
public Input<string> Version { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |