azure_mgmt_cognitive_services 0.18.1 → 0.19.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +18 -0
  3. data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
  4. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +40 -12
  5. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb +178 -103
  6. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +235 -7
  7. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/azure_entity_resource.rb +75 -0
  8. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb +57 -0
  9. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb +79 -0
  10. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +21 -31
  11. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb +90 -0
  12. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb +201 -0
  13. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb +61 -0
  14. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb +95 -0
  15. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb +17 -0
  16. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb +49 -0
  17. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb +16 -0
  18. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb +68 -0
  19. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb +16 -0
  20. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb +89 -0
  21. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint.rb +47 -0
  22. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection.rb +74 -0
  23. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb +80 -0
  24. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_service_connection_status.rb +18 -0
  25. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource.rb +74 -0
  26. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_list_result.rb +55 -0
  27. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_properties.rb +100 -0
  28. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_service_connection_state.rb +73 -0
  29. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/proxy_resource.rb +63 -0
  30. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/public_network_access.rb +16 -0
  31. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource.rb +83 -0
  32. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_capability.rb +57 -0
  33. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/tracked_resource.rb +92 -0
  34. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb +58 -0
  35. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb +46 -0
  36. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb +69 -0
  37. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb +5 -0
  38. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_endpoint_connections.rb +373 -0
  39. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_link_resources.rb +133 -0
  40. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb +6 -0
  41. data/lib/azure_mgmt_cognitive_services.rb +1 -1
  42. data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +146 -36
  43. data/lib/version.rb +1 -1
  44. metadata +36 -8
  45. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb +0 -138
  46. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +0 -108
  47. data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb +0 -70
@@ -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,49 @@
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
+ # A rule governing the accessibility from a specific ip address or ip
10
+ # range.
11
+ #
12
+ class IpRule
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] An IPv4 address range in CIDR notation, such as
17
+ # '124.56.78.91' (simple IP address) or '124.56.78.0/24' (all addresses
18
+ # that start with 124.56.78).
19
+ attr_accessor :value
20
+
21
+
22
+ #
23
+ # Mapper for IpRule class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'IpRule',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'IpRule',
34
+ model_properties: {
35
+ value: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'value',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ 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,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 NetworkRuleAction
10
+ #
11
+ module NetworkRuleAction
12
+ Allow = "Allow"
13
+ Deny = "Deny"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,89 @@
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
+ # A set of rules governing the network accessibility.
10
+ #
11
+ class NetworkRuleSet
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [NetworkRuleAction] The default action when no rule from
16
+ # ipRules and from virtualNetworkRules match. This is only used after the
17
+ # bypass property has been evaluated. Possible values include: 'Allow',
18
+ # 'Deny'
19
+ attr_accessor :default_action
20
+
21
+ # @return [Array<IpRule>] The list of IP address rules.
22
+ attr_accessor :ip_rules
23
+
24
+ # @return [Array<VirtualNetworkRule>] The list of virtual network rules.
25
+ attr_accessor :virtual_network_rules
26
+
27
+
28
+ #
29
+ # Mapper for NetworkRuleSet class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'NetworkRuleSet',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'NetworkRuleSet',
40
+ model_properties: {
41
+ default_action: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'defaultAction',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ ip_rules: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'ipRules',
53
+ type: {
54
+ name: 'Sequence',
55
+ element: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'IpRuleElementType',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'IpRule'
62
+ }
63
+ }
64
+ }
65
+ },
66
+ virtual_network_rules: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ serialized_name: 'virtualNetworkRules',
70
+ type: {
71
+ name: 'Sequence',
72
+ element: {
73
+ client_side_validation: true,
74
+ required: false,
75
+ serialized_name: 'VirtualNetworkRuleElementType',
76
+ type: {
77
+ name: 'Composite',
78
+ class_name: 'VirtualNetworkRule'
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ end
@@ -0,0 +1,47 @@
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 Private Endpoint resource.
10
+ #
11
+ class PrivateEndpoint
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The ARM identifier for Private Endpoint
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for PrivateEndpoint 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: 'PrivateEndpoint',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'PrivateEndpoint',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,74 @@
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 Private Endpoint Connection resource.
10
+ #
11
+ class PrivateEndpointConnection < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PrivateEndpointConnectionProperties] Resource properties.
16
+ attr_accessor :properties
17
+
18
+
19
+ #
20
+ # Mapper for PrivateEndpointConnection 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: 'PrivateEndpointConnection',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'PrivateEndpointConnection',
31
+ model_properties: {
32
+ id: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ read_only: true,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ read_only: true,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ client_side_validation: true,
52
+ required: false,
53
+ read_only: true,
54
+ serialized_name: 'type',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ properties: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'properties',
63
+ type: {
64
+ name: 'Composite',
65
+ class_name: 'PrivateEndpointConnectionProperties'
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+ end
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,80 @@
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 of the PrivateEndpointConnectProperties.
10
+ #
11
+ class PrivateEndpointConnectionProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [PrivateEndpoint] The resource of private end point.
16
+ attr_accessor :private_endpoint
17
+
18
+ # @return [PrivateLinkServiceConnectionState] A collection of information
19
+ # about the state of the connection between service consumer and
20
+ # provider.
21
+ attr_accessor :private_link_service_connection_state
22
+
23
+ # @return [Array<String>] The private link resource group ids.
24
+ attr_accessor :group_ids
25
+
26
+
27
+ #
28
+ # Mapper for PrivateEndpointConnectionProperties class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'PrivateEndpointConnectionProperties',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'PrivateEndpointConnectionProperties',
39
+ model_properties: {
40
+ private_endpoint: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'privateEndpoint',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'PrivateEndpoint'
47
+ }
48
+ },
49
+ private_link_service_connection_state: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'privateLinkServiceConnectionState',
53
+ type: {
54
+ name: 'Composite',
55
+ class_name: 'PrivateLinkServiceConnectionState'
56
+ }
57
+ },
58
+ group_ids: {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'groupIds',
62
+ type: {
63
+ name: 'Sequence',
64
+ element: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ serialized_name: 'StringElementType',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end