azure_mgmt_cognitive_services 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +15 -8
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +12 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb +33 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb +61 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb +95 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb +17 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb +16 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb +68 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb +58 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb +46 -0
- data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +52 -24
- data/lib/version.rb +1 -1
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7106ea1a77ffbc0ab00c2017f682a27838ca9a8e6c4962f44ed5b59bca856be0
|
4
|
+
data.tar.gz: 38c0790721f264156aff3b04377207fc8f1a9db409701ca3d1349fdbdf023a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614aa6f9c3df75be142f32a95720391b43a16f24a1f8f86138a516e696998be5ecb489953bcef0ce146741d346ff2d21d046372f0290f0934fc57d75a99a4550
|
7
|
+
data.tar.gz: 52e275cc75848c11b1c322d8a88773c00c1dd56f74a768cf8e84e35beb6dd2b95fdcfd74af2d6d0c8a9d274a3c779391423ad668222bb589dfa82c90d6e3768e
|
@@ -125,7 +125,7 @@ module Azure::CognitiveServices::Mgmt::V2016_02_01_preview
|
|
125
125
|
#
|
126
126
|
def add_telemetry
|
127
127
|
sdk_information = 'azure_mgmt_cognitive_services'
|
128
|
-
sdk_information = "#{sdk_information}/0.19.
|
128
|
+
sdk_information = "#{sdk_information}/0.19.1"
|
129
129
|
add_user_agent_information(sdk_information)
|
130
130
|
end
|
131
131
|
end
|
@@ -26,13 +26,18 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
26
26
|
autoload :CognitiveServicesManagementClient, '2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb'
|
27
27
|
|
28
28
|
module Models
|
29
|
+
autoload :MetricName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb'
|
30
|
+
autoload :Sku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb'
|
31
|
+
autoload :Usage, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb'
|
32
|
+
autoload :VirtualNetworkRule, '2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb'
|
29
33
|
autoload :UsagesResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb'
|
34
|
+
autoload :KeyVaultProperties, '2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb'
|
30
35
|
autoload :ErrorBody, '2017-04-18/generated/azure_mgmt_cognitive_services/models/error_body.rb'
|
31
|
-
autoload :
|
36
|
+
autoload :UserOwnedStorage, '2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb'
|
32
37
|
autoload :Error, '2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb'
|
33
|
-
autoload :NetworkRuleSet, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb'
|
34
|
-
autoload :OperationDisplayInfo, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb'
|
35
38
|
autoload :CognitiveServicesAccountProperties, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb'
|
39
|
+
autoload :OperationDisplayInfo, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb'
|
40
|
+
autoload :Identity, '2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb'
|
36
41
|
autoload :OperationEntity, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb'
|
37
42
|
autoload :CognitiveServicesAccountListResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb'
|
38
43
|
autoload :OperationEntityListResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity_list_result.rb'
|
@@ -40,24 +45,26 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
40
45
|
autoload :CheckSkuAvailabilityParameter, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_parameter.rb'
|
41
46
|
autoload :CognitiveServicesAccountEnumerateSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_enumerate_skus_result.rb'
|
42
47
|
autoload :CheckSkuAvailabilityResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result.rb'
|
43
|
-
autoload :
|
48
|
+
autoload :NetworkRuleSet, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb'
|
44
49
|
autoload :CheckSkuAvailabilityResultList, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_result_list.rb'
|
45
|
-
autoload :
|
50
|
+
autoload :CognitiveServicesAccountApiProperties, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb'
|
46
51
|
autoload :CheckDomainAvailabilityParameter, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb'
|
47
52
|
autoload :CognitiveServicesAccount, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb'
|
48
53
|
autoload :CheckDomainAvailabilityResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb'
|
49
54
|
autoload :CognitiveServicesResourceAndSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb'
|
50
55
|
autoload :ResourceSkuRestrictionInfo, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restriction_info.rb'
|
51
|
-
autoload :
|
56
|
+
autoload :Encryption, '2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb'
|
52
57
|
autoload :ResourceSkuRestrictions, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restrictions.rb'
|
53
58
|
autoload :CognitiveServicesAccountKeys, '2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_keys.rb'
|
54
59
|
autoload :ResourceSku, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku.rb'
|
55
|
-
autoload :
|
60
|
+
autoload :UserAssignedIdentity, '2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb'
|
56
61
|
autoload :ResourceSkusResult, '2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_skus_result.rb'
|
57
|
-
autoload :
|
62
|
+
autoload :IpRule, '2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb'
|
58
63
|
autoload :SkuTier, '2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_tier.rb'
|
59
64
|
autoload :ProvisioningState, '2017-04-18/generated/azure_mgmt_cognitive_services/models/provisioning_state.rb'
|
60
65
|
autoload :NetworkRuleAction, '2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb'
|
66
|
+
autoload :KeySource, '2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb'
|
67
|
+
autoload :IdentityType, '2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb'
|
61
68
|
autoload :KeyName, '2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb'
|
62
69
|
autoload :UnitType, '2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb'
|
63
70
|
autoload :QuotaUsageStatus, '2017-04-18/generated/azure_mgmt_cognitive_services/models/quota_usage_status.rb'
|
data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb
CHANGED
@@ -354,7 +354,7 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
354
354
|
#
|
355
355
|
def add_telemetry
|
356
356
|
sdk_information = 'azure_mgmt_cognitive_services'
|
357
|
-
sdk_information = "#{sdk_information}/0.19.
|
357
|
+
sdk_information = "#{sdk_information}/0.19.1"
|
358
358
|
add_user_agent_information(sdk_information)
|
359
359
|
end
|
360
360
|
end
|
data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb
CHANGED
@@ -45,6 +45,9 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
45
45
|
# @return [String] Resource type
|
46
46
|
attr_accessor :type
|
47
47
|
|
48
|
+
# @return [Identity] The identity of Cognitive Services account.
|
49
|
+
attr_accessor :identity
|
50
|
+
|
48
51
|
|
49
52
|
#
|
50
53
|
# Mapper for CognitiveServicesAccount class as Ruby Hash.
|
@@ -144,6 +147,15 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
144
147
|
type: {
|
145
148
|
name: 'String'
|
146
149
|
}
|
150
|
+
},
|
151
|
+
identity: {
|
152
|
+
client_side_validation: true,
|
153
|
+
required: false,
|
154
|
+
serialized_name: 'identity',
|
155
|
+
type: {
|
156
|
+
name: 'Composite',
|
157
|
+
class_name: 'Identity'
|
158
|
+
}
|
147
159
|
}
|
148
160
|
}
|
149
161
|
}
|
@@ -31,6 +31,13 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
31
31
|
# accessibility from specific network locations.
|
32
32
|
attr_accessor :network_acls
|
33
33
|
|
34
|
+
# @return [Encryption] The encryption properties for this resource.
|
35
|
+
attr_accessor :encryption
|
36
|
+
|
37
|
+
# @return [Array<UserOwnedStorage>] The storage accounts for this
|
38
|
+
# resource.
|
39
|
+
attr_accessor :user_owned_storage
|
40
|
+
|
34
41
|
# @return [CognitiveServicesAccountApiProperties] The api properties for
|
35
42
|
# special APIs.
|
36
43
|
attr_accessor :api_properties
|
@@ -93,6 +100,32 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
93
100
|
class_name: 'NetworkRuleSet'
|
94
101
|
}
|
95
102
|
},
|
103
|
+
encryption: {
|
104
|
+
client_side_validation: true,
|
105
|
+
required: false,
|
106
|
+
serialized_name: 'encryption',
|
107
|
+
type: {
|
108
|
+
name: 'Composite',
|
109
|
+
class_name: 'Encryption'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
user_owned_storage: {
|
113
|
+
client_side_validation: true,
|
114
|
+
required: false,
|
115
|
+
serialized_name: 'userOwnedStorage',
|
116
|
+
type: {
|
117
|
+
name: 'Sequence',
|
118
|
+
element: {
|
119
|
+
client_side_validation: true,
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'UserOwnedStorageElementType',
|
122
|
+
type: {
|
123
|
+
name: 'Composite',
|
124
|
+
class_name: 'UserOwnedStorage'
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
},
|
96
129
|
api_properties: {
|
97
130
|
client_side_validation: true,
|
98
131
|
required: false,
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties to configure Encryption
|
10
|
+
#
|
11
|
+
class Encryption
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [KeyVaultProperties] Properties of KeyVault
|
16
|
+
attr_accessor :key_vault_properties
|
17
|
+
|
18
|
+
# @return [KeySource] Enumerates the possible value of keySource for
|
19
|
+
# Encryption. Possible values include: 'Microsoft.CognitiveServices',
|
20
|
+
# 'Microsoft.KeyVault'. Default value: 'Microsoft.KeyVault' .
|
21
|
+
attr_accessor :key_source
|
22
|
+
|
23
|
+
|
24
|
+
#
|
25
|
+
# Mapper for Encryption class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
client_side_validation: true,
|
31
|
+
required: false,
|
32
|
+
serialized_name: 'Encryption',
|
33
|
+
type: {
|
34
|
+
name: 'Composite',
|
35
|
+
class_name: 'Encryption',
|
36
|
+
model_properties: {
|
37
|
+
key_vault_properties: {
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'keyVaultProperties',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'KeyVaultProperties'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
key_source: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'keySource',
|
50
|
+
default_value: 'Microsoft.KeyVault',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,95 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Managed service identity.
|
10
|
+
#
|
11
|
+
class Identity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [IdentityType] Type of managed service identity. Possible
|
16
|
+
# values include: 'None', 'SystemAssigned', 'UserAssigned'
|
17
|
+
attr_accessor :type
|
18
|
+
|
19
|
+
# @return [String] Tenant of managed service identity.
|
20
|
+
attr_accessor :tenant_id
|
21
|
+
|
22
|
+
# @return [String] Principal Id of managed service identity.
|
23
|
+
attr_accessor :principal_id
|
24
|
+
|
25
|
+
# @return [Hash{String => UserAssignedIdentity}] The list of user
|
26
|
+
# assigned identities associated with the resource. The user identity
|
27
|
+
# dictionary key references will be ARM resource ids in the form:
|
28
|
+
# '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
|
29
|
+
attr_accessor :user_assigned_identities
|
30
|
+
|
31
|
+
|
32
|
+
#
|
33
|
+
# Mapper for Identity class as Ruby Hash.
|
34
|
+
# This will be used for serialization/deserialization.
|
35
|
+
#
|
36
|
+
def self.mapper()
|
37
|
+
{
|
38
|
+
client_side_validation: true,
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'Identity',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'Identity',
|
44
|
+
model_properties: {
|
45
|
+
type: {
|
46
|
+
client_side_validation: true,
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'type',
|
49
|
+
type: {
|
50
|
+
name: 'Enum',
|
51
|
+
module: 'IdentityType'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
tenant_id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
read_only: true,
|
58
|
+
serialized_name: 'tenantId',
|
59
|
+
type: {
|
60
|
+
name: 'String'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
principal_id: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'principalId',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
user_assigned_identities: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
serialized_name: 'userAssignedIdentities',
|
76
|
+
type: {
|
77
|
+
name: 'Dictionary',
|
78
|
+
value: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'UserAssignedIdentityElementType',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'UserAssignedIdentity'
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for IdentityType
|
10
|
+
#
|
11
|
+
module IdentityType
|
12
|
+
None = "None"
|
13
|
+
SystemAssigned = "SystemAssigned"
|
14
|
+
UserAssigned = "UserAssigned"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for KeySource
|
10
|
+
#
|
11
|
+
module KeySource
|
12
|
+
MicrosoftCognitiveServices = "Microsoft.CognitiveServices"
|
13
|
+
MicrosoftKeyVault = "Microsoft.KeyVault"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties to configure keyVault Properties
|
10
|
+
#
|
11
|
+
class KeyVaultProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Name of the Key from KeyVault
|
16
|
+
attr_accessor :key_name
|
17
|
+
|
18
|
+
# @return [String] Version of the Key from KeyVault
|
19
|
+
attr_accessor :key_version
|
20
|
+
|
21
|
+
# @return [String] Uri of KeyVault
|
22
|
+
attr_accessor :key_vault_uri
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for KeyVaultProperties class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'KeyVaultProperties',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'KeyVaultProperties',
|
37
|
+
model_properties: {
|
38
|
+
key_name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'keyName',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
key_version: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'keyVersion',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
key_vault_uri: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'keyVaultUri',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# User-assigned managed identity.
|
10
|
+
#
|
11
|
+
class UserAssignedIdentity
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Azure Active Directory principal ID associated with
|
16
|
+
# this Identity.
|
17
|
+
attr_accessor :principal_id
|
18
|
+
|
19
|
+
# @return [String] Client App Id associated with this identity.
|
20
|
+
attr_accessor :client_id
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for UserAssignedIdentity class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'UserAssignedIdentity',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'UserAssignedIdentity',
|
35
|
+
model_properties: {
|
36
|
+
principal_id: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'principalId',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
client_id: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'clientId',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The user owned storage for Cognitive Services account.
|
10
|
+
#
|
11
|
+
class UserOwnedStorage
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Full resource id of a Microsoft.Storage resource.
|
16
|
+
attr_accessor :resource_id
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for UserOwnedStorage class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'UserOwnedStorage',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'UserOwnedStorage',
|
31
|
+
model_properties: {
|
32
|
+
resource_id: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'resourceId',
|
36
|
+
type: {
|
37
|
+
name: 'String'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -11,13 +11,18 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
11
11
|
Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations
|
12
12
|
|
13
13
|
module Models
|
14
|
+
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
15
|
+
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
16
|
+
Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
17
|
+
VirtualNetworkRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
14
18
|
UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
19
|
+
KeyVaultProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyVaultProperties
|
15
20
|
ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
16
|
-
|
21
|
+
UserOwnedStorage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
17
22
|
Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
18
|
-
NetworkRuleSet = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
19
|
-
OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
20
23
|
CognitiveServicesAccountProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties
|
24
|
+
OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
25
|
+
Identity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Identity
|
21
26
|
OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
22
27
|
CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
|
23
28
|
OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
|
@@ -25,24 +30,26 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
25
30
|
CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
|
26
31
|
CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
|
27
32
|
CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
28
|
-
|
33
|
+
NetworkRuleSet = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
29
34
|
CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
30
|
-
|
35
|
+
CognitiveServicesAccountApiProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
31
36
|
CheckDomainAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
32
37
|
CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
33
38
|
CheckDomainAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
34
39
|
CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
35
40
|
ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
36
|
-
|
41
|
+
Encryption = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
37
42
|
ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
38
43
|
CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
|
39
44
|
ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
40
|
-
|
45
|
+
UserAssignedIdentity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
41
46
|
ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
42
|
-
|
47
|
+
IpRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
43
48
|
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
44
49
|
ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
45
50
|
NetworkRuleAction = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
|
51
|
+
KeySource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeySource
|
52
|
+
IdentityType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
46
53
|
KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
47
54
|
UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
|
48
55
|
QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus
|
@@ -97,26 +104,41 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
97
104
|
end
|
98
105
|
|
99
106
|
class ModelClasses
|
107
|
+
def metric_name
|
108
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
109
|
+
end
|
110
|
+
def sku
|
111
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
112
|
+
end
|
113
|
+
def usage
|
114
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
115
|
+
end
|
116
|
+
def virtual_network_rule
|
117
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
118
|
+
end
|
100
119
|
def usages_result
|
101
120
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
102
121
|
end
|
122
|
+
def key_vault_properties
|
123
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyVaultProperties
|
124
|
+
end
|
103
125
|
def error_body
|
104
126
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
105
127
|
end
|
106
|
-
def
|
107
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
128
|
+
def user_owned_storage
|
129
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
108
130
|
end
|
109
131
|
def error
|
110
132
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
111
133
|
end
|
112
|
-
def
|
113
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
134
|
+
def cognitive_services_account_properties
|
135
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties
|
114
136
|
end
|
115
137
|
def operation_display_info
|
116
138
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
117
139
|
end
|
118
|
-
def
|
119
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
140
|
+
def identity
|
141
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Identity
|
120
142
|
end
|
121
143
|
def operation_entity
|
122
144
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
@@ -139,14 +161,14 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
139
161
|
def check_sku_availability_result
|
140
162
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
141
163
|
end
|
142
|
-
def
|
143
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
164
|
+
def network_rule_set
|
165
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
144
166
|
end
|
145
167
|
def check_sku_availability_result_list
|
146
168
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
147
169
|
end
|
148
|
-
def
|
149
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
170
|
+
def cognitive_services_account_api_properties
|
171
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
150
172
|
end
|
151
173
|
def check_domain_availability_parameter
|
152
174
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
@@ -163,8 +185,8 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
163
185
|
def resource_sku_restriction_info
|
164
186
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
165
187
|
end
|
166
|
-
def
|
167
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
188
|
+
def encryption
|
189
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
168
190
|
end
|
169
191
|
def resource_sku_restrictions
|
170
192
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
@@ -175,14 +197,14 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
175
197
|
def resource_sku
|
176
198
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
177
199
|
end
|
178
|
-
def
|
179
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
200
|
+
def user_assigned_identity
|
201
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
180
202
|
end
|
181
203
|
def resource_skus_result
|
182
204
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
183
205
|
end
|
184
|
-
def
|
185
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
206
|
+
def ip_rule
|
207
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
186
208
|
end
|
187
209
|
def sku_tier
|
188
210
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
@@ -193,6 +215,12 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
193
215
|
def network_rule_action
|
194
216
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
|
195
217
|
end
|
218
|
+
def key_source
|
219
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeySource
|
220
|
+
end
|
221
|
+
def identity_type
|
222
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
223
|
+
end
|
196
224
|
def key_name
|
197
225
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
198
226
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_cognitive_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02
|
11
|
+
date: 2020-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -122,10 +122,15 @@ files:
|
|
122
122
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_list_result.rb
|
123
123
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb
|
124
124
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_resource_and_sku.rb
|
125
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb
|
125
126
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error.rb
|
126
127
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/error_body.rb
|
128
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb
|
129
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb
|
127
130
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb
|
128
131
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_name.rb
|
132
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb
|
133
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb
|
129
134
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/metric_name.rb
|
130
135
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb
|
131
136
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb
|
@@ -146,6 +151,8 @@ files:
|
|
146
151
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb
|
147
152
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb
|
148
153
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
|
154
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb
|
155
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb
|
149
156
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb
|
150
157
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/module_definition.rb
|
151
158
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb
|