Show / Hide Table of Contents

Class PolicyArgs

Inheritance
System.Object
InputArgs
ResourceArgs
PolicyArgs
Inherited Members
ResourceArgs.Empty
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 Source

PolicyArgs()

Declaration
public PolicyArgs()

Properties

View Source

Description

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.