azure_mgmt_resources 0.17.9 → 0.18.0
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/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2016-06-01/generated/azure_mgmt_resources/subscription_client.rb +1 -1
- data/lib/2016-07-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2016-09-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2017-05-10/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2018-02-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2018-05-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_resources/application_client.rb +1 -1
- data/lib/2019-03-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2019-05-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2019-05-10/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_resources/resource_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_resources.rb +117 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployment_operations.rb +1590 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/deployments.rb +6276 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_model.rb +116 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_attributes.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_metadata.rb +64 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_path_token_type.rb +22 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_pattern_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/alias_type.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/api_profile.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/basic_dependency.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/change_type.rb +20 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/debug_setting.rb +53 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/dependency.rb +88 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_export_result.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_extended_filter.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_mode.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation.rb +71 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operation_properties.rb +166 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_operations_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties.rb +136 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_properties_extended.rb +287 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_validate_result.rb +61 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_properties.rb +108 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/deployment_what_if_settings.rb +48 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_additional_info.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/error_response.rb +113 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/export_template_request.rb +69 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource.rb +158 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_expanded.rb +179 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/generic_resource_filter.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/http_message.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity.rb +96 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment.rb +60 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_extended.rb +73 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/on_error_deployment_type.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_display.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/operation_list_result.rb +100 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/parameters_link.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/plan.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/property_change_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider.rb +104 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provider_resource_type.rb +170 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_operation.rb +24 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/provisioning_state.rb +26 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource.rb +110 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group.rb +128 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_export_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_filter.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_patchable.rb +90 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_group_properties.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_identity_type.rb +18 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_provider_operation_display_properties.rb +91 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resource_reference.rb +47 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/resources_move_info.rb +65 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment.rb +77 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/scoped_deployment_what_if.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sku.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/status_message.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/sub_resource.rb +46 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_count.rb +57 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_details.rb +92 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tag_value.rb +70 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags.rb +54 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_list_result.rb +99 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_operation.rb +17 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_patch_resource.rb +59 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/tags_resource.rb +83 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/target_resource.rb +68 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_hash_result.rb +58 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/template_link.rb +84 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_change.rb +105 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_operation_result.rb +80 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_property_change.rb +101 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/models/what_if_result_format.rb +16 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/module_definition.rb +9 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/operations.rb +219 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/providers.rb +846 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_groups.rb +964 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resource_management_client.rb +155 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/resources.rb +2354 -0
- data/lib/2020-06-01/generated/azure_mgmt_resources/tags_operations.rb +1078 -0
- data/lib/azure_mgmt_resources.rb +8 -7
- data/lib/version.rb +1 -1
- metadata +95 -2
@@ -0,0 +1,83 @@
|
|
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Wrapper resource for tags API requests and responses.
|
10
|
+
#
|
11
|
+
class TagsResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the tags wrapper resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the tags wrapper resource.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [String] The type of the tags wrapper resource.
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
# @return [Tags] The set of tags.
|
25
|
+
attr_accessor :properties
|
26
|
+
|
27
|
+
|
28
|
+
#
|
29
|
+
# Mapper for TagsResource 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: 'TagsResource',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'TagsResource',
|
40
|
+
model_properties: {
|
41
|
+
id: {
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
read_only: true,
|
45
|
+
serialized_name: 'id',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
name: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'name',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
type: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'type',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
properties: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: true,
|
71
|
+
serialized_name: 'properties',
|
72
|
+
type: {
|
73
|
+
name: 'Composite',
|
74
|
+
class_name: 'Tags'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Target resource.
|
10
|
+
#
|
11
|
+
class TargetResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The ID of the resource.
|
16
|
+
attr_accessor :id
|
17
|
+
|
18
|
+
# @return [String] The name of the resource.
|
19
|
+
attr_accessor :resource_name
|
20
|
+
|
21
|
+
# @return [String] The type of the resource.
|
22
|
+
attr_accessor :resource_type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for TargetResource 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: 'TargetResource',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'TargetResource',
|
37
|
+
model_properties: {
|
38
|
+
id: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'id',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
resource_name: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'resourceName',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
resource_type: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'resourceType',
|
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the request to calculate template hash. It contains a string of
|
10
|
+
# minified template and its hash.
|
11
|
+
#
|
12
|
+
class TemplateHashResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The minified template string.
|
17
|
+
attr_accessor :minified_template
|
18
|
+
|
19
|
+
# @return [String] The template hash.
|
20
|
+
attr_accessor :template_hash
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for TemplateHashResult 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: 'TemplateHashResult',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'TemplateHashResult',
|
35
|
+
model_properties: {
|
36
|
+
minified_template: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'minifiedTemplate',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
template_hash: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'templateHash',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,84 @@
|
|
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Entity representing the reference to the template.
|
10
|
+
#
|
11
|
+
class TemplateLink
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The URI of the template to deploy. Use either the uri
|
16
|
+
# or id property, but not both.
|
17
|
+
attr_accessor :uri
|
18
|
+
|
19
|
+
# @return [String] The resource id of a Template Spec. Use either the id
|
20
|
+
# or uri property, but not both.
|
21
|
+
attr_accessor :id
|
22
|
+
|
23
|
+
# @return [String] Applicable only if this template link references a
|
24
|
+
# Template Spec. This relativePath property can optionally be used to
|
25
|
+
# reference a Template Spec artifact by path.
|
26
|
+
attr_accessor :relative_path
|
27
|
+
|
28
|
+
# @return [String] If included, must match the ContentVersion in the
|
29
|
+
# template.
|
30
|
+
attr_accessor :content_version
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for TemplateLink class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'TemplateLink',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'TemplateLink',
|
45
|
+
model_properties: {
|
46
|
+
uri: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'uri',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
54
|
+
id: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'id',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
relative_path: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'relativePath',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
},
|
70
|
+
content_version: {
|
71
|
+
client_side_validation: true,
|
72
|
+
required: false,
|
73
|
+
serialized_name: 'contentVersion',
|
74
|
+
type: {
|
75
|
+
name: 'String'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
@@ -0,0 +1,105 @@
|
|
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Information about a single resource change predicted by What-If
|
10
|
+
# operation.
|
11
|
+
#
|
12
|
+
class WhatIfChange
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Resource ID
|
17
|
+
attr_accessor :resource_id
|
18
|
+
|
19
|
+
# @return [ChangeType] Type of change that will be made to the resource
|
20
|
+
# when the deployment is executed. Possible values include: 'Create',
|
21
|
+
# 'Delete', 'Ignore', 'Deploy', 'NoChange', 'Modify'
|
22
|
+
attr_accessor :change_type
|
23
|
+
|
24
|
+
# @return The snapshot of the resource before the deployment is executed.
|
25
|
+
attr_accessor :before
|
26
|
+
|
27
|
+
# @return The predicted snapshot of the resource after the deployment is
|
28
|
+
# executed.
|
29
|
+
attr_accessor :after
|
30
|
+
|
31
|
+
# @return [Array<WhatIfPropertyChange>] The predicted changes to resource
|
32
|
+
# properties.
|
33
|
+
attr_accessor :delta
|
34
|
+
|
35
|
+
|
36
|
+
#
|
37
|
+
# Mapper for WhatIfChange class as Ruby Hash.
|
38
|
+
# This will be used for serialization/deserialization.
|
39
|
+
#
|
40
|
+
def self.mapper()
|
41
|
+
{
|
42
|
+
client_side_validation: true,
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'WhatIfChange',
|
45
|
+
type: {
|
46
|
+
name: 'Composite',
|
47
|
+
class_name: 'WhatIfChange',
|
48
|
+
model_properties: {
|
49
|
+
resource_id: {
|
50
|
+
client_side_validation: true,
|
51
|
+
required: true,
|
52
|
+
serialized_name: 'resourceId',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
change_type: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: true,
|
60
|
+
serialized_name: 'changeType',
|
61
|
+
type: {
|
62
|
+
name: 'Enum',
|
63
|
+
module: 'ChangeType'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
before: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'before',
|
70
|
+
type: {
|
71
|
+
name: 'Object'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
after: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
serialized_name: 'after',
|
78
|
+
type: {
|
79
|
+
name: 'Object'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
delta: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'delta',
|
86
|
+
type: {
|
87
|
+
name: 'Sequence',
|
88
|
+
element: {
|
89
|
+
client_side_validation: true,
|
90
|
+
required: false,
|
91
|
+
serialized_name: 'WhatIfPropertyChangeElementType',
|
92
|
+
type: {
|
93
|
+
name: 'Composite',
|
94
|
+
class_name: 'WhatIfPropertyChange'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
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::Resources::Mgmt::V2020_06_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Result of the What-If operation. Contains a list of predicted changes and
|
10
|
+
# a URL link to get to the next set of results.
|
11
|
+
#
|
12
|
+
class WhatIfOperationResult
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Status of the What-If operation.
|
17
|
+
attr_accessor :status
|
18
|
+
|
19
|
+
# @return [Array<WhatIfChange>] List of resource changes predicted by
|
20
|
+
# What-If operation.
|
21
|
+
attr_accessor :changes
|
22
|
+
|
23
|
+
# @return [ErrorResponse] Error when What-If operation fails.
|
24
|
+
attr_accessor :error
|
25
|
+
|
26
|
+
|
27
|
+
#
|
28
|
+
# Mapper for WhatIfOperationResult 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: 'WhatIfOperationResult',
|
36
|
+
type: {
|
37
|
+
name: 'Composite',
|
38
|
+
class_name: 'WhatIfOperationResult',
|
39
|
+
model_properties: {
|
40
|
+
status: {
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'status',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
changes: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'properties.changes',
|
52
|
+
type: {
|
53
|
+
name: 'Sequence',
|
54
|
+
element: {
|
55
|
+
client_side_validation: true,
|
56
|
+
required: false,
|
57
|
+
serialized_name: 'WhatIfChangeElementType',
|
58
|
+
type: {
|
59
|
+
name: 'Composite',
|
60
|
+
class_name: 'WhatIfChange'
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
64
|
+
},
|
65
|
+
error: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'error',
|
69
|
+
type: {
|
70
|
+
name: 'Composite',
|
71
|
+
class_name: 'ErrorResponse'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|