azure_mgmt_devtestlabs 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_devtestlabs.gemspec +34 -0
- data/lib/azure_mgmt_devtestlabs.rb +5 -0
- data/lib/generated/azure_mgmt_devtestlabs.rb +103 -0
- data/lib/generated/azure_mgmt_devtestlabs/artifact_operations.rb +477 -0
- data/lib/generated/azure_mgmt_devtestlabs/artifact_source_operations.rb +669 -0
- data/lib/generated/azure_mgmt_devtestlabs/cost_operations.rb +124 -0
- data/lib/generated/azure_mgmt_devtestlabs/custom_image_operations.rb +648 -0
- data/lib/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +110 -0
- data/lib/generated/azure_mgmt_devtestlabs/formula_operations.rb +608 -0
- data/lib/generated/azure_mgmt_devtestlabs/gallery_image_operations.rb +252 -0
- data/lib/generated/azure_mgmt_devtestlabs/lab_operations.rb +1403 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb +53 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact.rb +151 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb +66 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb +63 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/artifact_source.rb +183 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/cost.rb +139 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/cost_per_day_properties.rb +65 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image.rb +164 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_os_type.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb +65 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb +66 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/day_details.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/enable_status.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb +64 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb +52 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb +52 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/formula.rb +174 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image.rb +153 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb +84 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb +72 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/hour_details.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab.rb +162 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_cost_type.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_storage_type.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb +321 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb +46 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/linux_os_state.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/parameter_info.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy.rb +175 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb +19 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb +63 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_status.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/policy_violation.rb +54 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/resource_cost_properties.rb +106 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb +95 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb +93 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb +94 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/schedule.rb +175 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/source_control_type.rb +16 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet.rb +65 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subnet_override.rb +78 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification.rb +67 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_properties.rb +44 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/subscription_notification_state.rb +20 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/usage_permission_type.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/virtual_network.rb +169 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/week_details.rb +61 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb +45 -0
- data/lib/generated/azure_mgmt_devtestlabs/models/windows_os_state.rb +17 -0
- data/lib/generated/azure_mgmt_devtestlabs/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_devtestlabs/policy_operations.rb +690 -0
- data/lib/generated/azure_mgmt_devtestlabs/policy_set.rb +137 -0
- data/lib/generated/azure_mgmt_devtestlabs/schedule_operations.rb +796 -0
- data/lib/generated/azure_mgmt_devtestlabs/version.rb +8 -0
- data/lib/generated/azure_mgmt_devtestlabs/virtual_machine.rb +1155 -0
- data/lib/generated/azure_mgmt_devtestlabs/virtual_network_operations.rb +759 -0
- metadata +199 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Request body for applying artifacts to a virtual machine.
|
10
|
+
#
|
11
|
+
class ApplyArtifactsRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<ArtifactInstallProperties>] The list of artifacts to
|
16
|
+
# apply.
|
17
|
+
attr_accessor :artifacts
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ApplyArtifactsRequest class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'ApplyArtifactsRequest',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'ApplyArtifactsRequest',
|
31
|
+
model_properties: {
|
32
|
+
artifacts: {
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'artifacts',
|
35
|
+
type: {
|
36
|
+
name: 'Sequence',
|
37
|
+
element: {
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'ArtifactInstallPropertiesElementType',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'ArtifactInstallProperties'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about a generated ARM template.
|
10
|
+
#
|
11
|
+
class ArmTemplateInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return The template's contents.
|
16
|
+
attr_accessor :template
|
17
|
+
|
18
|
+
# @return The parameters of the ARM template.
|
19
|
+
attr_accessor :parameters
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ArmTemplateInfo class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ArmTemplateInfo',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ArmTemplateInfo',
|
33
|
+
model_properties: {
|
34
|
+
template: {
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'template',
|
37
|
+
type: {
|
38
|
+
name: 'Object'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
parameters: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'parameters',
|
44
|
+
type: {
|
45
|
+
name: 'Object'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,151 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# An artifact.
|
10
|
+
#
|
11
|
+
class Artifact
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The title of the artifact.
|
16
|
+
attr_accessor :title
|
17
|
+
|
18
|
+
# @return [String] The description of the artifact.
|
19
|
+
attr_accessor :description
|
20
|
+
|
21
|
+
# @return [String] The file path of the artifact.
|
22
|
+
attr_accessor :file_path
|
23
|
+
|
24
|
+
# @return [String] The icon of the artifact.
|
25
|
+
attr_accessor :icon
|
26
|
+
|
27
|
+
# @return [String] Gets or sets the type of the target os.
|
28
|
+
attr_accessor :target_os_type
|
29
|
+
|
30
|
+
# @return The parameters of the artifact.
|
31
|
+
attr_accessor :parameters
|
32
|
+
|
33
|
+
# @return [String] The identifier of the resource.
|
34
|
+
attr_accessor :id
|
35
|
+
|
36
|
+
# @return [String] The name of the resource.
|
37
|
+
attr_accessor :name
|
38
|
+
|
39
|
+
# @return [String] The type of the resource.
|
40
|
+
attr_accessor :type
|
41
|
+
|
42
|
+
# @return [String] The location of the resource.
|
43
|
+
attr_accessor :location
|
44
|
+
|
45
|
+
# @return [Hash{String => String}] The tags of the resource.
|
46
|
+
attr_accessor :tags
|
47
|
+
|
48
|
+
|
49
|
+
#
|
50
|
+
# Mapper for Artifact class as Ruby Hash.
|
51
|
+
# This will be used for serialization/deserialization.
|
52
|
+
#
|
53
|
+
def self.mapper()
|
54
|
+
{
|
55
|
+
required: false,
|
56
|
+
serialized_name: 'Artifact',
|
57
|
+
type: {
|
58
|
+
name: 'Composite',
|
59
|
+
class_name: 'Artifact',
|
60
|
+
model_properties: {
|
61
|
+
title: {
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'properties.title',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
description: {
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'properties.description',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
file_path: {
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'properties.filePath',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
icon: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'properties.icon',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
target_os_type: {
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'properties.targetOsType',
|
92
|
+
type: {
|
93
|
+
name: 'String'
|
94
|
+
}
|
95
|
+
},
|
96
|
+
parameters: {
|
97
|
+
required: false,
|
98
|
+
serialized_name: 'properties.parameters',
|
99
|
+
type: {
|
100
|
+
name: 'Object'
|
101
|
+
}
|
102
|
+
},
|
103
|
+
id: {
|
104
|
+
required: false,
|
105
|
+
serialized_name: 'id',
|
106
|
+
type: {
|
107
|
+
name: 'String'
|
108
|
+
}
|
109
|
+
},
|
110
|
+
name: {
|
111
|
+
required: false,
|
112
|
+
serialized_name: 'name',
|
113
|
+
type: {
|
114
|
+
name: 'String'
|
115
|
+
}
|
116
|
+
},
|
117
|
+
type: {
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'type',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
location: {
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'location',
|
127
|
+
type: {
|
128
|
+
name: 'String'
|
129
|
+
}
|
130
|
+
},
|
131
|
+
tags: {
|
132
|
+
required: false,
|
133
|
+
serialized_name: 'tags',
|
134
|
+
type: {
|
135
|
+
name: 'Dictionary',
|
136
|
+
value: {
|
137
|
+
required: false,
|
138
|
+
serialized_name: 'StringElementType',
|
139
|
+
type: {
|
140
|
+
name: 'String'
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of an artifact deployment.
|
10
|
+
#
|
11
|
+
class ArtifactDeploymentStatusProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The deployment status of the artifact.
|
16
|
+
attr_accessor :deployment_status
|
17
|
+
|
18
|
+
# @return [Integer] The total count of the artifacts that were
|
19
|
+
# successfully applied.
|
20
|
+
attr_accessor :artifacts_applied
|
21
|
+
|
22
|
+
# @return [Integer] The total count of the artifacts that were
|
23
|
+
# tentatively applied.
|
24
|
+
attr_accessor :total_artifacts
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for ArtifactDeploymentStatusProperties class as Ruby Hash.
|
29
|
+
# This will be used for serialization/deserialization.
|
30
|
+
#
|
31
|
+
def self.mapper()
|
32
|
+
{
|
33
|
+
required: false,
|
34
|
+
serialized_name: 'ArtifactDeploymentStatusProperties',
|
35
|
+
type: {
|
36
|
+
name: 'Composite',
|
37
|
+
class_name: 'ArtifactDeploymentStatusProperties',
|
38
|
+
model_properties: {
|
39
|
+
deployment_status: {
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'deploymentStatus',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
artifacts_applied: {
|
47
|
+
required: false,
|
48
|
+
serialized_name: 'artifactsApplied',
|
49
|
+
type: {
|
50
|
+
name: 'Number'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
total_artifacts: {
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'totalArtifacts',
|
56
|
+
type: {
|
57
|
+
name: 'Number'
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of an artifact.
|
10
|
+
#
|
11
|
+
class ArtifactInstallProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The artifact's identifier.
|
16
|
+
attr_accessor :artifact_id
|
17
|
+
|
18
|
+
# @return [Array<ArtifactParameterProperties>] The parameters of the
|
19
|
+
# artifact.
|
20
|
+
attr_accessor :parameters
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ArtifactInstallProperties class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'ArtifactInstallProperties',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'ArtifactInstallProperties',
|
34
|
+
model_properties: {
|
35
|
+
artifact_id: {
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'artifactId',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
parameters: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'parameters',
|
45
|
+
type: {
|
46
|
+
name: 'Sequence',
|
47
|
+
element: {
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'ArtifactParameterPropertiesElementType',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'ArtifactParameterProperties'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of an artifact parameter.
|
10
|
+
#
|
11
|
+
class ArtifactParameterProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name of the artifact parameter.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The value of the artifact parameter.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for ArtifactParameterProperties class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'ArtifactParameterProperties',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'ArtifactParameterProperties',
|
33
|
+
model_properties: {
|
34
|
+
name: {
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'name',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
value: {
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'value',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,183 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DevTestLabs
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Properties of an artifact source.
|
10
|
+
#
|
11
|
+
class ArtifactSource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The display name of the artifact source.
|
16
|
+
attr_accessor :display_name
|
17
|
+
|
18
|
+
# @return [String] The URI of the artifact source.
|
19
|
+
attr_accessor :uri
|
20
|
+
|
21
|
+
# @return [SourceControlType] The type of the artifact source. Possible
|
22
|
+
# values include: 'VsoGit', 'GitHub'
|
23
|
+
attr_accessor :source_type
|
24
|
+
|
25
|
+
# @return [String] The folder path of the artifact source.
|
26
|
+
attr_accessor :folder_path
|
27
|
+
|
28
|
+
# @return [String] The branch reference of the artifact source.
|
29
|
+
attr_accessor :branch_ref
|
30
|
+
|
31
|
+
# @return [String] The security token of the artifact source.
|
32
|
+
attr_accessor :security_token
|
33
|
+
|
34
|
+
# @return [EnableStatus] The status of the artifact source. Possible
|
35
|
+
# values include: 'Enabled', 'Disabled'
|
36
|
+
attr_accessor :status
|
37
|
+
|
38
|
+
# @return [String] The provisioning status of the resource.
|
39
|
+
attr_accessor :provisioning_state
|
40
|
+
|
41
|
+
# @return [String] The unique immutable identifier of a resource (Guid).
|
42
|
+
attr_accessor :unique_identifier
|
43
|
+
|
44
|
+
# @return [String] The identifier of the resource.
|
45
|
+
attr_accessor :id
|
46
|
+
|
47
|
+
# @return [String] The name of the resource.
|
48
|
+
attr_accessor :name
|
49
|
+
|
50
|
+
# @return [String] The type of the resource.
|
51
|
+
attr_accessor :type
|
52
|
+
|
53
|
+
# @return [String] The location of the resource.
|
54
|
+
attr_accessor :location
|
55
|
+
|
56
|
+
# @return [Hash{String => String}] The tags of the resource.
|
57
|
+
attr_accessor :tags
|
58
|
+
|
59
|
+
|
60
|
+
#
|
61
|
+
# Mapper for ArtifactSource class as Ruby Hash.
|
62
|
+
# This will be used for serialization/deserialization.
|
63
|
+
#
|
64
|
+
def self.mapper()
|
65
|
+
{
|
66
|
+
required: false,
|
67
|
+
serialized_name: 'ArtifactSource',
|
68
|
+
type: {
|
69
|
+
name: 'Composite',
|
70
|
+
class_name: 'ArtifactSource',
|
71
|
+
model_properties: {
|
72
|
+
display_name: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'properties.displayName',
|
75
|
+
type: {
|
76
|
+
name: 'String'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
uri: {
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'properties.uri',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
},
|
86
|
+
source_type: {
|
87
|
+
required: false,
|
88
|
+
serialized_name: 'properties.sourceType',
|
89
|
+
type: {
|
90
|
+
name: 'String'
|
91
|
+
}
|
92
|
+
},
|
93
|
+
folder_path: {
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'properties.folderPath',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
branch_ref: {
|
101
|
+
required: false,
|
102
|
+
serialized_name: 'properties.branchRef',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
security_token: {
|
108
|
+
required: false,
|
109
|
+
serialized_name: 'properties.securityToken',
|
110
|
+
type: {
|
111
|
+
name: 'String'
|
112
|
+
}
|
113
|
+
},
|
114
|
+
status: {
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'properties.status',
|
117
|
+
type: {
|
118
|
+
name: 'String'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
provisioning_state: {
|
122
|
+
required: false,
|
123
|
+
serialized_name: 'properties.provisioningState',
|
124
|
+
type: {
|
125
|
+
name: 'String'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
unique_identifier: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'properties.uniqueIdentifier',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
id: {
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'id',
|
138
|
+
type: {
|
139
|
+
name: 'String'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
name: {
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'name',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
type: {
|
150
|
+
required: false,
|
151
|
+
serialized_name: 'type',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
},
|
156
|
+
location: {
|
157
|
+
required: false,
|
158
|
+
serialized_name: 'location',
|
159
|
+
type: {
|
160
|
+
name: 'String'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
tags: {
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'tags',
|
166
|
+
type: {
|
167
|
+
name: 'Dictionary',
|
168
|
+
value: {
|
169
|
+
required: false,
|
170
|
+
serialized_name: 'StringElementType',
|
171
|
+
type: {
|
172
|
+
name: 'String'
|
173
|
+
}
|
174
|
+
}
|
175
|
+
}
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
end
|