Class: Azure::VMwareCloudSimple::Mgmt::V2019_04_01::Models::DedicatedCloudService

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#gateway_subnetString

subnet address and always treat it as /28

Returns:

  • (String)

    gateway Subnet for the account. It will collect the



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

#idString

/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/resourceProviderNamespace/dedicatedCloudServices/dedicatedCloudServiceName

Returns:

  • (String)


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_onboardedOnboardingStatus

in a given region. Possible values include: ‘notOnBoarded’, ‘onBoarded’, ‘onBoardingFailed’, ‘onBoarding’

Returns:



32
33
34
# File 'lib/2019-04-01/generated/azure_mgmt_vmware_cloudsimple/models/dedicated_cloud_service.rb', line 32

def 
  @is_account_onboarded
end

#locationString

Returns Azure region.

Returns:

  • (String)

    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

#nameString

Returns dedicatedCloudServiceName.

Returns:

  • (String)

    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

#nodesInteger

Returns total nodes purchased.

Returns:

  • (Integer)

    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_urlString

Returns link to a service management web portal.

Returns:

  • (String)

    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

#tagsHash{String => String}

Returns The list of tags.

Returns:

  • (Hash{String => String})

    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
  @tags
end

#typeString

Returns resourceProviderNamespace/resourceType.

Returns:

  • (String)

    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

.mapperObject

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