Class: Azure::Policy::Mgmt::V2019_09_01::Models::PolicySetDefinition
- Inherits:
-
Object
- Object
- Azure::Policy::Mgmt::V2019_09_01::Models::PolicySetDefinition
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb
Overview
The policy set definition.
Instance Attribute Summary collapse
-
#description ⇒ String
The policy set definition description.
-
#display_name ⇒ String
The display name of the policy set definition.
-
#id ⇒ String
The ID of the policy set definition.
-
#metadata ⇒ Object
object and is typically a collection of key value pairs.
-
#name ⇒ String
The name of the policy set definition.
-
#parameters ⇒ Hash{String => ParameterDefinitionsValue}
definition parameters that can be used in policy definition references.
-
#policy_definition_groups ⇒ Array<PolicyDefinitionGroup>
of policy definition references within the policy set definition.
-
#policy_definitions ⇒ Array<PolicyDefinitionReference>
definition references.
-
#policy_type ⇒ PolicyType
NotSpecified, BuiltIn, Custom, and Static.
-
#type ⇒ String
(Microsoft.Authorization/policySetDefinitions).
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PolicySetDefinition class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns The policy set definition description.
24 25 26 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 24 def description @description end |
#display_name ⇒ String
Returns The display name of the policy set definition.
21 22 23 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 21 def display_name @display_name end |
#id ⇒ String
Returns The ID of the policy set definition.
43 44 45 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 43 def id @id end |
#metadata ⇒ Object
object and is typically a collection of key value pairs.
28 29 30 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 28 def @metadata end |
#name ⇒ String
Returns The name of the policy set definition.
46 47 48 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 46 def name @name end |
#parameters ⇒ Hash{String => ParameterDefinitionsValue}
definition parameters that can be used in policy definition references.
32 33 34 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 32 def parameters @parameters end |
#policy_definition_groups ⇒ Array<PolicyDefinitionGroup>
of policy definition references within the policy set definition.
40 41 42 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 40 def policy_definition_groups @policy_definition_groups end |
#policy_definitions ⇒ Array<PolicyDefinitionReference>
definition references.
36 37 38 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 36 def policy_definitions @policy_definitions end |
#policy_type ⇒ PolicyType
NotSpecified, BuiltIn, Custom, and Static. Possible values include: ‘NotSpecified’, ‘BuiltIn’, ‘Custom’, ‘Static’
18 19 20 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 18 def policy_type @policy_type end |
#type ⇒ String
(Microsoft.Authorization/policySetDefinitions).
50 51 52 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 50 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for PolicySetDefinition class as Ruby Hash. This will be used for serialization/deserialization.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 |
# File 'lib/2019-09-01/generated/azure_mgmt_policy/models/policy_set_definition.rb', line 57 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PolicySetDefinition', type: { name: 'Composite', class_name: 'PolicySetDefinition', model_properties: { policy_type: { client_side_validation: true, required: false, serialized_name: 'properties.policyType', type: { name: 'String' } }, display_name: { client_side_validation: true, required: false, serialized_name: 'properties.displayName', type: { name: 'String' } }, description: { client_side_validation: true, required: false, serialized_name: 'properties.description', type: { name: 'String' } }, metadata: { client_side_validation: true, required: false, serialized_name: 'properties.metadata', type: { name: 'Object' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ParameterDefinitionsValueElementType', type: { name: 'Composite', class_name: 'ParameterDefinitionsValue' } } } }, policy_definitions: { client_side_validation: true, required: true, serialized_name: 'properties.policyDefinitions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PolicyDefinitionReferenceElementType', type: { name: 'Composite', class_name: 'PolicyDefinitionReference' } } } }, policy_definition_groups: { client_side_validation: true, required: false, serialized_name: 'properties.policyDefinitionGroups', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PolicyDefinitionGroupElementType', type: { name: 'Composite', class_name: 'PolicyDefinitionGroup' } } } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |