Class: Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
- Inherits:
-
Object
- Object
- Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb
Overview
Dedicated cloud service model
Instance Attribute Summary collapse
-
#gateway_subnet ⇒ String
subnet address and always treat it as /28.
-
#id ⇒ String
/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/resourceProviderNamespace/dedicatedCloudServices/dedicatedCloudServiceName.
-
#is_account_onboarded ⇒ OnboardingStatus
in a given region.
-
#location ⇒ String
Azure region.
-
#name ⇒ String
dedicatedCloudServiceName.
-
#nodes ⇒ Integer
Total nodes purchased.
-
#service_url ⇒ String
Link to a service management web portal.
-
#tags ⇒ Hash{String => String}
The list of tags.
-
#type ⇒ String
resourceProviderNamespace/resourceType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DedicatedCloudService class as Ruby Hash.
Instance Attribute Details
#gateway_subnet ⇒ String
subnet address and always treat it as /28
27 28 29 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 27 def gateway_subnet @gateway_subnet end |
#id ⇒ String
/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/resourceProviderNamespace/dedicatedCloudServices/dedicatedCloudServiceName
17 18 19 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 17 def id @id end |
#is_account_onboarded ⇒ OnboardingStatus
in a given region. Possible values include: ‘notOnBoarded’, ‘onBoarded’, ‘onBoardingFailed’, ‘onBoarding’
32 33 34 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 32 def is_account_onboarded @is_account_onboarded end |
#location ⇒ String
Returns Azure region.
20 21 22 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 20 def location @location end |
#name ⇒ String
Returns dedicatedCloudServiceName.
23 24 25 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 23 def name @name end |
#nodes ⇒ Integer
Returns total nodes purchased.
35 36 37 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 35 def nodes @nodes end |
#service_url ⇒ String
Returns link to a service management web portal.
38 39 40 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 38 def service_url @service_url end |
#tags ⇒ Hash{String => String}
Returns The list of tags.
41 42 43 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 41 def @tags end |
#type ⇒ String
Returns resourceProviderNamespace/resourceType.
44 45 46 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 44 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for DedicatedCloudService class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DedicatedCloudService', type: { name: 'Composite', class_name: 'DedicatedCloudService', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', constraints: { Pattern: '^[-a-zA-Z0-9]+$' }, type: { name: 'String' } }, gateway_subnet: { client_side_validation: true, required: true, serialized_name: 'properties.gatewaySubnet', type: { name: 'String' } }, is_account_onboarded: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isAccountOnboarded', type: { name: 'Enum', module: 'OnboardingStatus' } }, nodes: { client_side_validation: true, required: false, serialized_name: 'properties.nodes', type: { name: 'Number' } }, service_url: { client_side_validation: true, required: false, serialized_name: 'properties.serviceURL', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |