azure_mgmt_compute 0.18.1 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2015-06-15/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2015-06-15/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2016-03-30/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2016-04-30-preview/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2017-03-30/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/2017-09-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute.rb +55 -55
- data/lib/2017-12-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine.rb +2 -3
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +3 -2
- data/lib/2017-12-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +2 -3
- data/lib/2018-04-01/generated/azure_mgmt_compute/compute_management_client.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/access_uri.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2018-04-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute.rb +108 -85
- data/lib/2018-06-01/generated/azure_mgmt_compute/compute_management_client.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/disks.rb +1274 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/{scale_tier.rb → access_level.rb} +4 -4
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/access_uri.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/additional_capabilities.rb +51 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/creation_data.rb +97 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/data_disk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk.rb +233 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_create_option.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_list.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_sku.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_storage_account_types.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/disk_update.rb +132 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/encryption_settings.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_publishing_profile_base.rb +9 -8
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_artifact_source.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_identifier.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb +11 -11
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/grant_access_data.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_data_disk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_disk_reference.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/image_osdisk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_and_key_reference.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/key_vault_and_secret_reference.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_artifact.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/managed_disk_parameters.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/osdisk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot.rb +187 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_list.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_sku.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_storage_account_types.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/snapshot_update.rb +106 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/source_vault.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/storage_account_types.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/target_region.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_data_disk.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_managed_disk_parameters.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_osdisk.rb +14 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_update_osdisk.rb +14 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vm.rb +35 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmprofile.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/models/virtual_machine_update.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/snapshots.rb +1274 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_set_rolling_upgrades.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_compute/virtual_machine_sizes.rb +6 -3
- data/lib/profiles/latest/modules/compute_profile_module.rb +360 -352
- data/lib/version.rb +1 -1
- metadata +26 -3
|
@@ -155,7 +155,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
155
155
|
},
|
|
156
156
|
os_type: {
|
|
157
157
|
client_side_validation: true,
|
|
158
|
-
required:
|
|
158
|
+
required: true,
|
|
159
159
|
serialized_name: 'properties.osType',
|
|
160
160
|
type: {
|
|
161
161
|
name: 'Enum',
|
|
@@ -164,7 +164,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
164
164
|
},
|
|
165
165
|
os_state: {
|
|
166
166
|
client_side_validation: true,
|
|
167
|
-
required:
|
|
167
|
+
required: true,
|
|
168
168
|
serialized_name: 'properties.osState',
|
|
169
169
|
type: {
|
|
170
170
|
name: 'Enum',
|
|
@@ -181,7 +181,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
181
181
|
},
|
|
182
182
|
identifier: {
|
|
183
183
|
client_side_validation: true,
|
|
184
|
-
required:
|
|
184
|
+
required: true,
|
|
185
185
|
serialized_name: 'properties.identifier',
|
|
186
186
|
type: {
|
|
187
187
|
name: 'Composite',
|
|
@@ -37,7 +37,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
37
37
|
model_properties: {
|
|
38
38
|
publisher: {
|
|
39
39
|
client_side_validation: true,
|
|
40
|
-
required:
|
|
40
|
+
required: true,
|
|
41
41
|
serialized_name: 'publisher',
|
|
42
42
|
type: {
|
|
43
43
|
name: 'String'
|
|
@@ -45,7 +45,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
45
45
|
},
|
|
46
46
|
offer: {
|
|
47
47
|
client_side_validation: true,
|
|
48
|
-
required:
|
|
48
|
+
required: true,
|
|
49
49
|
serialized_name: 'offer',
|
|
50
50
|
type: {
|
|
51
51
|
name: 'String'
|
|
@@ -53,7 +53,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
53
53
|
},
|
|
54
54
|
sku: {
|
|
55
55
|
client_side_validation: true,
|
|
56
|
-
required:
|
|
56
|
+
required: true,
|
|
57
57
|
serialized_name: 'sku',
|
|
58
58
|
type: {
|
|
59
59
|
name: 'String'
|
data/lib/2018-06-01/generated/azure_mgmt_compute/models/gallery_image_version_publishing_profile.rb
CHANGED
|
@@ -12,9 +12,8 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
12
12
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
|
-
# @return [
|
|
16
|
-
|
|
17
|
-
attr_accessor :scale_tier
|
|
15
|
+
# @return [Integer] This is the number of source blob copies in a region.
|
|
16
|
+
attr_accessor :replica_count
|
|
18
17
|
|
|
19
18
|
# @return [Boolean] The flag means that if it is set to true, people
|
|
20
19
|
# deploying VMs with 'latest' as version will not use this version.
|
|
@@ -41,37 +40,38 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
41
40
|
name: 'Composite',
|
|
42
41
|
class_name: 'GalleryImageVersionPublishingProfile',
|
|
43
42
|
model_properties: {
|
|
44
|
-
|
|
43
|
+
target_regions: {
|
|
45
44
|
client_side_validation: true,
|
|
46
45
|
required: false,
|
|
47
|
-
serialized_name: '
|
|
46
|
+
serialized_name: 'targetRegions',
|
|
48
47
|
type: {
|
|
49
48
|
name: 'Sequence',
|
|
50
49
|
element: {
|
|
51
50
|
client_side_validation: true,
|
|
52
51
|
required: false,
|
|
53
|
-
serialized_name: '
|
|
52
|
+
serialized_name: 'TargetRegionElementType',
|
|
54
53
|
type: {
|
|
55
|
-
name: '
|
|
54
|
+
name: 'Composite',
|
|
55
|
+
class_name: 'TargetRegion'
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
source: {
|
|
61
61
|
client_side_validation: true,
|
|
62
|
-
required:
|
|
62
|
+
required: true,
|
|
63
63
|
serialized_name: 'source',
|
|
64
64
|
type: {
|
|
65
65
|
name: 'Composite',
|
|
66
66
|
class_name: 'GalleryArtifactSource'
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
|
|
69
|
+
replica_count: {
|
|
70
70
|
client_side_validation: true,
|
|
71
71
|
required: false,
|
|
72
|
-
serialized_name: '
|
|
72
|
+
serialized_name: 'replicaCount',
|
|
73
73
|
type: {
|
|
74
|
-
name: '
|
|
74
|
+
name: 'Number'
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
exclude_from_latest: {
|
|
@@ -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::Compute::Mgmt::V2018_06_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Data used for requesting a SAS.
|
|
10
|
+
#
|
|
11
|
+
class GrantAccessData
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [AccessLevel] Possible values include: 'None', 'Read'
|
|
16
|
+
attr_accessor :access
|
|
17
|
+
|
|
18
|
+
# @return [Integer] Time duration in seconds until the SAS access
|
|
19
|
+
# expires.
|
|
20
|
+
attr_accessor :duration_in_seconds
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Mapper for GrantAccessData 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: 'GrantAccessData',
|
|
32
|
+
type: {
|
|
33
|
+
name: 'Composite',
|
|
34
|
+
class_name: 'GrantAccessData',
|
|
35
|
+
model_properties: {
|
|
36
|
+
access: {
|
|
37
|
+
client_side_validation: true,
|
|
38
|
+
required: true,
|
|
39
|
+
serialized_name: 'access',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'String'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
duration_in_seconds: {
|
|
45
|
+
client_side_validation: true,
|
|
46
|
+
required: true,
|
|
47
|
+
serialized_name: 'durationInSeconds',
|
|
48
|
+
type: {
|
|
49
|
+
name: 'Number'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
@@ -41,7 +41,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
41
41
|
# @return [StorageAccountTypes] Specifies the storage account type for
|
|
42
42
|
# the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
|
|
43
43
|
# StandardSSD_LRS. Possible values include: 'Standard_LRS',
|
|
44
|
-
# 'Premium_LRS', 'StandardSSD_LRS'
|
|
44
|
+
# 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
|
|
45
45
|
attr_accessor :storage_account_type
|
|
46
46
|
|
|
47
47
|
|
|
@@ -0,0 +1,60 @@
|
|
|
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::Compute::Mgmt::V2018_06_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# The source image used for creating the disk.
|
|
10
|
+
#
|
|
11
|
+
class ImageDiskReference
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] A relative uri containing either a Platform Imgage
|
|
16
|
+
# Repository or user image reference.
|
|
17
|
+
attr_accessor :id
|
|
18
|
+
|
|
19
|
+
# @return [Integer] If the disk is created from an image's data disk,
|
|
20
|
+
# this is an index that indicates which of the data disks in the image to
|
|
21
|
+
# use. For OS disks, this field is null.
|
|
22
|
+
attr_accessor :lun
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#
|
|
26
|
+
# Mapper for ImageDiskReference 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: 'ImageDiskReference',
|
|
34
|
+
type: {
|
|
35
|
+
name: 'Composite',
|
|
36
|
+
class_name: 'ImageDiskReference',
|
|
37
|
+
model_properties: {
|
|
38
|
+
id: {
|
|
39
|
+
client_side_validation: true,
|
|
40
|
+
required: true,
|
|
41
|
+
serialized_name: 'id',
|
|
42
|
+
type: {
|
|
43
|
+
name: 'String'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
lun: {
|
|
47
|
+
client_side_validation: true,
|
|
48
|
+
required: false,
|
|
49
|
+
serialized_name: 'lun',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'Number'
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
@@ -46,7 +46,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
46
46
|
# @return [StorageAccountTypes] Specifies the storage account type for
|
|
47
47
|
# the managed disk. Possible values are: Standard_LRS, Premium_LRS, and
|
|
48
48
|
# StandardSSD_LRS. Possible values include: 'Standard_LRS',
|
|
49
|
-
# 'Premium_LRS', 'StandardSSD_LRS'
|
|
49
|
+
# 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS'
|
|
50
50
|
attr_accessor :storage_account_type
|
|
51
51
|
|
|
52
52
|
|
|
@@ -0,0 +1,60 @@
|
|
|
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::Compute::Mgmt::V2018_06_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Key Vault Key Url and vault id of KeK, KeK is optional and when provided
|
|
10
|
+
# is used to unwrap the encryptionKey
|
|
11
|
+
#
|
|
12
|
+
class KeyVaultAndKeyReference
|
|
13
|
+
|
|
14
|
+
include MsRestAzure
|
|
15
|
+
|
|
16
|
+
# @return [SourceVault] Resource id of the KeyVault containing the key or
|
|
17
|
+
# secret
|
|
18
|
+
attr_accessor :source_vault
|
|
19
|
+
|
|
20
|
+
# @return [String] Url pointing to a key or secret in KeyVault
|
|
21
|
+
attr_accessor :key_url
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
# Mapper for KeyVaultAndKeyReference 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: 'KeyVaultAndKeyReference',
|
|
33
|
+
type: {
|
|
34
|
+
name: 'Composite',
|
|
35
|
+
class_name: 'KeyVaultAndKeyReference',
|
|
36
|
+
model_properties: {
|
|
37
|
+
source_vault: {
|
|
38
|
+
client_side_validation: true,
|
|
39
|
+
required: true,
|
|
40
|
+
serialized_name: 'sourceVault',
|
|
41
|
+
type: {
|
|
42
|
+
name: 'Composite',
|
|
43
|
+
class_name: 'SourceVault'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
key_url: {
|
|
47
|
+
client_side_validation: true,
|
|
48
|
+
required: true,
|
|
49
|
+
serialized_name: 'keyUrl',
|
|
50
|
+
type: {
|
|
51
|
+
name: 'String'
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
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::Compute::Mgmt::V2018_06_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Key Vault Secret Url and vault id of the encryption key
|
|
10
|
+
#
|
|
11
|
+
class KeyVaultAndSecretReference
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [SourceVault] Resource id of the KeyVault containing the key or
|
|
16
|
+
# secret
|
|
17
|
+
attr_accessor :source_vault
|
|
18
|
+
|
|
19
|
+
# @return [String] Url pointing to a key or secret in KeyVault
|
|
20
|
+
attr_accessor :secret_url
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Mapper for KeyVaultAndSecretReference 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: 'KeyVaultAndSecretReference',
|
|
32
|
+
type: {
|
|
33
|
+
name: 'Composite',
|
|
34
|
+
class_name: 'KeyVaultAndSecretReference',
|
|
35
|
+
model_properties: {
|
|
36
|
+
source_vault: {
|
|
37
|
+
client_side_validation: true,
|
|
38
|
+
required: true,
|
|
39
|
+
serialized_name: 'sourceVault',
|
|
40
|
+
type: {
|
|
41
|
+
name: 'Composite',
|
|
42
|
+
class_name: 'SourceVault'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
secret_url: {
|
|
46
|
+
client_side_validation: true,
|
|
47
|
+
required: true,
|
|
48
|
+
serialized_name: 'secretUrl',
|
|
49
|
+
type: {
|
|
50
|
+
name: 'String'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
end
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
end
|
|
@@ -13,9 +13,9 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
13
13
|
include MsRestAzure
|
|
14
14
|
|
|
15
15
|
# @return [StorageAccountTypes] Specifies the storage account type for
|
|
16
|
-
# the managed disk.
|
|
17
|
-
#
|
|
18
|
-
# '
|
|
16
|
+
# the managed disk. UltraSSD_LRS can only be used for data disks.
|
|
17
|
+
# Possible values include: 'Standard_LRS', 'Premium_LRS',
|
|
18
|
+
# 'StandardSSD_LRS', 'UltraSSD_LRS'
|
|
19
19
|
attr_accessor :storage_account_type
|
|
20
20
|
|
|
21
21
|
|
|
@@ -61,7 +61,7 @@ module Azure::Compute::Mgmt::V2018_06_01
|
|
|
61
61
|
attr_accessor :create_option
|
|
62
62
|
|
|
63
63
|
# @return [Integer] Specifies the size of an empty data disk in
|
|
64
|
-
# gigabytes. This element can be used to overwrite the
|
|
64
|
+
# gigabytes. This element can be used to overwrite the size of the disk
|
|
65
65
|
# in a virtual machine image. <br><br> This value cannot be larger than
|
|
66
66
|
# 1023 GB
|
|
67
67
|
attr_accessor :disk_size_gb
|
|
@@ -0,0 +1,187 @@
|
|
|
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::Compute::Mgmt::V2018_06_01
|
|
7
|
+
module Models
|
|
8
|
+
#
|
|
9
|
+
# Snapshot resource.
|
|
10
|
+
#
|
|
11
|
+
class Snapshot < Resource
|
|
12
|
+
|
|
13
|
+
include MsRestAzure
|
|
14
|
+
|
|
15
|
+
# @return [String] Unused. Always Null.
|
|
16
|
+
attr_accessor :managed_by
|
|
17
|
+
|
|
18
|
+
# @return [SnapshotSku]
|
|
19
|
+
attr_accessor :sku
|
|
20
|
+
|
|
21
|
+
# @return [DateTime] The time when the disk was created.
|
|
22
|
+
attr_accessor :time_created
|
|
23
|
+
|
|
24
|
+
# @return [OperatingSystemTypes] The Operating System type. Possible
|
|
25
|
+
# values include: 'Windows', 'Linux'
|
|
26
|
+
attr_accessor :os_type
|
|
27
|
+
|
|
28
|
+
# @return [CreationData] Disk source information. CreationData
|
|
29
|
+
# information cannot be changed after the disk has been created.
|
|
30
|
+
attr_accessor :creation_data
|
|
31
|
+
|
|
32
|
+
# @return [Integer] If creationData.createOption is Empty, this field is
|
|
33
|
+
# mandatory and it indicates the size of the VHD to create. If this field
|
|
34
|
+
# is present for updates or creation with other options, it indicates a
|
|
35
|
+
# resize. Resizes are only allowed if the disk is not attached to a
|
|
36
|
+
# running VM, and can only increase the disk's size.
|
|
37
|
+
attr_accessor :disk_size_gb
|
|
38
|
+
|
|
39
|
+
# @return [EncryptionSettings] Encryption settings for disk or snapshot
|
|
40
|
+
attr_accessor :encryption_settings
|
|
41
|
+
|
|
42
|
+
# @return [String] The disk provisioning state.
|
|
43
|
+
attr_accessor :provisioning_state
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
#
|
|
47
|
+
# Mapper for Snapshot class as Ruby Hash.
|
|
48
|
+
# This will be used for serialization/deserialization.
|
|
49
|
+
#
|
|
50
|
+
def self.mapper()
|
|
51
|
+
{
|
|
52
|
+
client_side_validation: true,
|
|
53
|
+
required: false,
|
|
54
|
+
serialized_name: 'Snapshot',
|
|
55
|
+
type: {
|
|
56
|
+
name: 'Composite',
|
|
57
|
+
class_name: 'Snapshot',
|
|
58
|
+
model_properties: {
|
|
59
|
+
id: {
|
|
60
|
+
client_side_validation: true,
|
|
61
|
+
required: false,
|
|
62
|
+
read_only: true,
|
|
63
|
+
serialized_name: 'id',
|
|
64
|
+
type: {
|
|
65
|
+
name: 'String'
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
name: {
|
|
69
|
+
client_side_validation: true,
|
|
70
|
+
required: false,
|
|
71
|
+
read_only: true,
|
|
72
|
+
serialized_name: 'name',
|
|
73
|
+
type: {
|
|
74
|
+
name: 'String'
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
type: {
|
|
78
|
+
client_side_validation: true,
|
|
79
|
+
required: false,
|
|
80
|
+
read_only: true,
|
|
81
|
+
serialized_name: 'type',
|
|
82
|
+
type: {
|
|
83
|
+
name: 'String'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
location: {
|
|
87
|
+
client_side_validation: true,
|
|
88
|
+
required: true,
|
|
89
|
+
serialized_name: 'location',
|
|
90
|
+
type: {
|
|
91
|
+
name: 'String'
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
tags: {
|
|
95
|
+
client_side_validation: true,
|
|
96
|
+
required: false,
|
|
97
|
+
serialized_name: 'tags',
|
|
98
|
+
type: {
|
|
99
|
+
name: 'Dictionary',
|
|
100
|
+
value: {
|
|
101
|
+
client_side_validation: true,
|
|
102
|
+
required: false,
|
|
103
|
+
serialized_name: 'StringElementType',
|
|
104
|
+
type: {
|
|
105
|
+
name: 'String'
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
managed_by: {
|
|
111
|
+
client_side_validation: true,
|
|
112
|
+
required: false,
|
|
113
|
+
read_only: true,
|
|
114
|
+
serialized_name: 'managedBy',
|
|
115
|
+
type: {
|
|
116
|
+
name: 'String'
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
sku: {
|
|
120
|
+
client_side_validation: true,
|
|
121
|
+
required: false,
|
|
122
|
+
serialized_name: 'sku',
|
|
123
|
+
type: {
|
|
124
|
+
name: 'Composite',
|
|
125
|
+
class_name: 'SnapshotSku'
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
time_created: {
|
|
129
|
+
client_side_validation: true,
|
|
130
|
+
required: false,
|
|
131
|
+
read_only: true,
|
|
132
|
+
serialized_name: 'properties.timeCreated',
|
|
133
|
+
type: {
|
|
134
|
+
name: 'DateTime'
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
os_type: {
|
|
138
|
+
client_side_validation: true,
|
|
139
|
+
required: false,
|
|
140
|
+
serialized_name: 'properties.osType',
|
|
141
|
+
type: {
|
|
142
|
+
name: 'Enum',
|
|
143
|
+
module: 'OperatingSystemTypes'
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
creation_data: {
|
|
147
|
+
client_side_validation: true,
|
|
148
|
+
required: true,
|
|
149
|
+
serialized_name: 'properties.creationData',
|
|
150
|
+
type: {
|
|
151
|
+
name: 'Composite',
|
|
152
|
+
class_name: 'CreationData'
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
disk_size_gb: {
|
|
156
|
+
client_side_validation: true,
|
|
157
|
+
required: false,
|
|
158
|
+
serialized_name: 'properties.diskSizeGB',
|
|
159
|
+
type: {
|
|
160
|
+
name: 'Number'
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
encryption_settings: {
|
|
164
|
+
client_side_validation: true,
|
|
165
|
+
required: false,
|
|
166
|
+
serialized_name: 'properties.encryptionSettings',
|
|
167
|
+
type: {
|
|
168
|
+
name: 'Composite',
|
|
169
|
+
class_name: 'EncryptionSettings'
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
provisioning_state: {
|
|
173
|
+
client_side_validation: true,
|
|
174
|
+
required: false,
|
|
175
|
+
read_only: true,
|
|
176
|
+
serialized_name: 'properties.provisioningState',
|
|
177
|
+
type: {
|
|
178
|
+
name: 'String'
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
end
|
|
185
|
+
end
|
|
186
|
+
end
|
|
187
|
+
end
|