azure_mgmt_dev_spaces 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces.rb +46 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb +1107 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/dev_spaces_management_client.rb +134 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller.rb +160 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_connection_details.rb +86 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_connection_details_list.rb +57 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_list.rb +100 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_update_parameters.rb +55 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/error_details.rb +72 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/error_response.rb +48 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb +62 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/orchestrator_specific_connection_details.rb +47 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/provisioning_state.rb +20 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource.rb +71 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_definition.rb +59 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_display.rb +80 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/resource_provider_operation_list.rb +101 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/sku.rb +61 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/sku_tier.rb +15 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/tracked_resource.rb +92 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/module_definition.rb +9 -0
- data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/operations.rb +236 -0
- data/lib/azure_mgmt_dev_spaces.rb +6 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/devspaces_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/devspaces_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/devspaces_profile_module.rb +131 -0
- data/lib/version.rb +7 -0
- metadata +147 -0
data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/controller_update_parameters.rb
ADDED
@@ -0,0 +1,55 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Parameters for updating an Azure Dev Spaces Controller.
|
10
|
+
#
|
11
|
+
class ControllerUpdateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Tags for the Azure Dev Spaces
|
16
|
+
# Controller.
|
17
|
+
attr_accessor :tags
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ControllerUpdateParameters class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ControllerUpdateParameters',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ControllerUpdateParameters',
|
32
|
+
model_properties: {
|
33
|
+
tags: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'tags',
|
37
|
+
type: {
|
38
|
+
name: 'Dictionary',
|
39
|
+
value: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'StringElementType',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,72 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ErrorDetails
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Status code for the error.
|
17
|
+
attr_accessor :code
|
18
|
+
|
19
|
+
# @return [String] Error message describing the error in detail.
|
20
|
+
attr_accessor :message
|
21
|
+
|
22
|
+
# @return [String] The target of the particular error.
|
23
|
+
attr_accessor :target
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for ErrorDetails class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ErrorDetails',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ErrorDetails',
|
38
|
+
model_properties: {
|
39
|
+
code: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'code',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
message: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'message',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
target: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'target',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
@@ -0,0 +1,48 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error response indicates that the service is not able to process the
|
10
|
+
# incoming request. The reason is provided in the error message.
|
11
|
+
#
|
12
|
+
class ErrorResponse
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [ErrorDetails] The details of the error.
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ErrorResponse class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
client_side_validation: true,
|
27
|
+
required: false,
|
28
|
+
serialized_name: 'ErrorResponse',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ErrorResponse',
|
32
|
+
model_properties: {
|
33
|
+
error: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'error',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ErrorDetails'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/models/kubernetes_connection_details.rb
ADDED
@@ -0,0 +1,62 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class KubernetesConnectionDetails < OrchestratorSpecificConnectionDetails
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
def initialize
|
18
|
+
@instanceType = "Kubernetes"
|
19
|
+
end
|
20
|
+
|
21
|
+
attr_accessor :instanceType
|
22
|
+
|
23
|
+
# @return [String] Gets the kubeconfig for the cluster.
|
24
|
+
attr_accessor :kube_config
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for KubernetesConnectionDetails 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: 'Kubernetes',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'KubernetesConnectionDetails',
|
39
|
+
model_properties: {
|
40
|
+
instanceType: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'instanceType',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
kube_config: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'kubeConfig',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class OrchestratorSpecificConnectionDetails
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
@@discriminatorMap = Hash.new
|
17
|
+
@@discriminatorMap["Kubernetes"] = "KubernetesConnectionDetails"
|
18
|
+
|
19
|
+
def initialize
|
20
|
+
@instanceType = "OrchestratorSpecificConnectionDetails"
|
21
|
+
end
|
22
|
+
|
23
|
+
attr_accessor :instanceType
|
24
|
+
|
25
|
+
|
26
|
+
#
|
27
|
+
# Mapper for OrchestratorSpecificConnectionDetails class as Ruby Hash.
|
28
|
+
# This will be used for serialization/deserialization.
|
29
|
+
#
|
30
|
+
def self.mapper()
|
31
|
+
{
|
32
|
+
client_side_validation: true,
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'OrchestratorSpecificConnectionDetails',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
polymorphic_discriminator: 'instanceType',
|
38
|
+
uber_parent: 'OrchestratorSpecificConnectionDetails',
|
39
|
+
class_name: 'OrchestratorSpecificConnectionDetails',
|
40
|
+
model_properties: {
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ProvisioningState
|
10
|
+
#
|
11
|
+
module ProvisioningState
|
12
|
+
Succeeded = "Succeeded"
|
13
|
+
Failed = "Failed"
|
14
|
+
Canceled = "Canceled"
|
15
|
+
Updating = "Updating"
|
16
|
+
Creating = "Creating"
|
17
|
+
Deleting = "Deleting"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,71 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An Azure resource.
|
10
|
+
#
|
11
|
+
class Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Fully qualified resource Id for the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the resource.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The type of the resource.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for Resource 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: 'Resource',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'Resource',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
read_only: true,
|
42
|
+
serialized_name: 'id',
|
43
|
+
type: {
|
44
|
+
name: 'String'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
read_only: true,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'String'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
type: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
read_only: true,
|
60
|
+
serialized_name: 'type',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -0,0 +1,59 @@
|
|
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ResourceProviderOperationDefinition
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource provider operation name.
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
# @return [ResourceProviderOperationDisplay]
|
20
|
+
attr_accessor :display
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ResourceProviderOperationDefinition 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: 'ResourceProviderOperationDefinition',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ResourceProviderOperationDefinition',
|
35
|
+
model_properties: {
|
36
|
+
name: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'name',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
display: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'display',
|
48
|
+
type: {
|
49
|
+
name: 'Composite',
|
50
|
+
class_name: 'ResourceProviderOperationDisplay'
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
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::DevSpaces::Mgmt::V2018_06_01_preview
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class ResourceProviderOperationDisplay
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Name of the resource provider.
|
17
|
+
attr_accessor :provider
|
18
|
+
|
19
|
+
# @return [String] Name of the resource type.
|
20
|
+
attr_accessor :resource
|
21
|
+
|
22
|
+
# @return [String] Name of the resource provider operation.
|
23
|
+
attr_accessor :operation
|
24
|
+
|
25
|
+
# @return [String] Description of the resource provider operation.
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for ResourceProviderOperationDisplay class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'ResourceProviderOperationDisplay',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'ResourceProviderOperationDisplay',
|
41
|
+
model_properties: {
|
42
|
+
provider: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'provider',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
resource: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'resource',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
operation: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'operation',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
description: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'description',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|