Class: Azure::MixedReality::Mgmt::V2020_04_06_preview::Models::ResourceModelWithAllowedPropertySet

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb

Overview

The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#etagString

the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Returns:

  • (String)

    The etag field is not required. If it is provided in



51
52
53
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 51

def etag
  @etag
end

#idString

/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/resourceProviderNamespace/resourceType/resourceName

Returns:

  • (String)

    Fully qualified resource Id for the resource. Ex -



19
20
21
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 19

def id
  @id
end

#identityResourceModelWithAllowedPropertySetIdentity



57
58
59
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 57

def identity
  @identity
end

#kindString

different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Returns:

  • (String)

    Metadata used by portal/tooling/etc to render



43
44
45
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 43

def kind
  @kind
end

#locationString

Returns The geo-location where the resource lives.

Returns:

  • (String)

    The geo-location where the resource lives



30
31
32
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 30

def location
  @location
end

#managed_byString

manages this resource. Indicates if this resource is managed by another azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Returns:

  • (String)

    The fully qualified resource ID of the resource that



37
38
39
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 37

def managed_by
  @managed_by
end

#nameString

Returns The name of the resource.

Returns:

  • (String)

    The name of the resource



22
23
24
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 22

def name
  @name
end

#planResourceModelWithAllowedPropertySetPlan



63
64
65
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 63

def plan
  @plan
end

#skuResourceModelWithAllowedPropertySetSku



60
61
62
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 60

def sku
  @sku
end

#tagsHash{String => String}

Returns Resource tags.

Returns:

  • (Hash{String => String})

    Resource tags.



54
55
56
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 54

def tags
  @tags
end

#typeString

Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts..

Returns:

  • (String)

    The type of the resource. Ex-



27
28
29
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 27

def type
  @type
end

Class Method Details

.mapperObject

Mapper for ResourceModelWithAllowedPropertySet class as Ruby Hash. This will be used for serialization/deserialization.



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
180
181
182
183
184
185
186
187
188
# File 'lib/2020-04-06-preview/generated/azure_mgmt_mixedreality/models/resource_model_with_allowed_property_set.rb', line 70

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceModelWithAllowedPropertySet',
    type: {
      name: 'Composite',
      class_name: 'ResourceModelWithAllowedPropertySet',
      model_properties: {
        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'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        managed_by: {
          client_side_validation: true,
          required: false,
          serialized_name: 'managedBy',
          type: {
            name: 'String'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          constraints: {
            Pattern: '^[-\w\._,\(\)]+$'
          },
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'ResourceModelWithAllowedPropertySetIdentity'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'ResourceModelWithAllowedPropertySetSku'
          }
        },
        plan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'plan',
          type: {
            name: 'Composite',
            class_name: 'ResourceModelWithAllowedPropertySetPlan'
          }
        }
      }
    }
  }
end