Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb

Overview

Properties of Cognitive Services account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#api_propertiesCognitiveServicesAccountApiProperties

special APIs.

Returns:



57
58
59
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 57

def api_properties
  @api_properties
end

#capabilitiesArray<SkuCapability>

services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.

Returns:

  • (Array<SkuCapability>)

    Gets the capabilities of the cognitive



29
30
31
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 29

def capabilities
  @capabilities
end

#custom_sub_domain_nameString

authentication.

Returns:

  • (String)

    Optional subdomain name used for token-based



33
34
35
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 33

def custom_sub_domain_name
  @custom_sub_domain_name
end

#encryptionEncryption

Returns The encryption properties for this resource.

Returns:

  • (Encryption)

    The encryption properties for this resource.



40
41
42
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 40

def encryption
  @encryption
end

#endpointString

Returns Endpoint of the created account.

Returns:

  • (String)

    Endpoint of the created account.



21
22
23
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 21

def endpoint
  @endpoint
end

#internal_idString

Returns The internal identifier.

Returns:

  • (String)

    The internal identifier.



24
25
26
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 24

def internal_id
  @internal_id
end

#network_aclsNetworkRuleSet

accessibility from specific network locations.

Returns:



37
38
39
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 37

def network_acls
  @network_acls
end

#private_endpoint_connectionsArray<PrivateEndpointConnection>

connection associated with the Cognitive Services account.

Returns:



48
49
50
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 48

def private_endpoint_connections
  @private_endpoint_connections
end

#provisioning_stateProvisioningState

account at the time the operation was called. Possible values include: ‘Creating’, ‘ResolvingDNS’, ‘Moving’, ‘Deleting’, ‘Succeeded’, ‘Failed’

Returns:



18
19
20
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 18

def provisioning_state
  @provisioning_state
end

#public_network_accessPublicNetworkAccess

allowed for this account. Value is optional but if passed in, must be ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’

Returns:



53
54
55
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 53

def public_network_access
  @public_network_access
end

#user_owned_storageArray<UserOwnedStorage>

resource.

Returns:



44
45
46
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 44

def user_owned_storage
  @user_owned_storage
end

Class Method Details

.mapperObject

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



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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb', line 64

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CognitiveServicesAccountProperties',
    type: {
      name: 'Composite',
      class_name: 'CognitiveServicesAccountProperties',
      model_properties: {
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endpoint',
          type: {
            name: 'String'
          }
        },
        internal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'internalId',
          type: {
            name: 'String'
          }
        },
        capabilities: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'capabilities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SkuCapabilityElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SkuCapability'
                }
            }
          }
        },
        custom_sub_domain_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customSubDomainName',
          type: {
            name: 'String'
          }
        },
        network_acls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkAcls',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption'
          }
        },
        user_owned_storage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userOwnedStorage',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'UserOwnedStorageElementType',
                type: {
                  name: 'Composite',
                  class_name: 'UserOwnedStorage'
                }
            }
          }
        },
        private_endpoint_connections: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateEndpointConnections',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PrivateEndpointConnectionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PrivateEndpointConnection'
                }
            }
          }
        },
        public_network_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicNetworkAccess',
          type: {
            name: 'String'
          }
        },
        api_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiProperties',
          type: {
            name: 'Composite',
            class_name: 'CognitiveServicesAccountApiProperties'
          }
        }
      }
    }
  }
end