Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceProperties
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb
Overview
Cloud service properties
Instance Attribute Summary collapse
-
#configuration ⇒ String
the cloud service.
-
#configuration_url ⇒ String
service configuration in the Blob service.
- #extension_profile ⇒ CloudServiceExtensionProfile
- #network_profile ⇒ CloudServiceNetworkProfile
- #os_profile ⇒ CloudServiceOsProfile
-
#package_url ⇒ String
service package in the Blob service.
-
#provisioning_state ⇒ String
response.
- #role_profile ⇒ CloudServiceRoleProfile
-
#start_cloud_service ⇒ Boolean
service immediately after it is created.
-
#unique_id ⇒ String
The unique identifier for the cloud service.
-
#upgrade_mode ⇒ CloudServiceUpgradeMode
'Manual', 'Simultaneous'.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CloudServiceProperties class as Ruby Hash.
Instance Attribute Details
#configuration ⇒ String
the cloud service.
23 24 25 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 23 def configuration @configuration end |
#configuration_url ⇒ String
service configuration in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
29 30 31 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 29 def configuration_url @configuration_url end |
#extension_profile ⇒ CloudServiceExtensionProfile
53 54 55 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 53 def extension_profile @extension_profile end |
#network_profile ⇒ CloudServiceNetworkProfile
50 51 52 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 50 def network_profile @network_profile end |
#os_profile ⇒ CloudServiceOsProfile
47 48 49 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 47 def os_profile @os_profile end |
#package_url ⇒ String
service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account. This is a write-only property and is not returned in GET calls.
19 20 21 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 19 def package_url @package_url end |
#provisioning_state ⇒ String
response.
57 58 59 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 57 def provisioning_state @provisioning_state end |
#role_profile ⇒ CloudServiceRoleProfile
44 45 46 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 44 def role_profile @role_profile end |
#start_cloud_service ⇒ Boolean
service immediately after it is created. The default value is `true`. If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
37 38 39 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 37 def start_cloud_service @start_cloud_service end |
#unique_id ⇒ String
Returns The unique identifier for the cloud service.
60 61 62 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 60 def unique_id @unique_id end |
#upgrade_mode ⇒ CloudServiceUpgradeMode
'Manual', 'Simultaneous'
41 42 43 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 41 def upgrade_mode @upgrade_mode end |
Class Method Details
.mapper ⇒ Object
Mapper for CloudServiceProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_properties.rb', line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CloudServiceProperties', type: { name: 'Composite', class_name: 'CloudServiceProperties', model_properties: { package_url: { client_side_validation: true, required: false, serialized_name: 'packageUrl', type: { name: 'String' } }, configuration: { client_side_validation: true, required: false, serialized_name: 'configuration', type: { name: 'String' } }, configuration_url: { client_side_validation: true, required: false, serialized_name: 'configurationUrl', type: { name: 'String' } }, start_cloud_service: { client_side_validation: true, required: false, serialized_name: 'startCloudService', type: { name: 'Boolean' } }, upgrade_mode: { client_side_validation: true, required: false, serialized_name: 'upgradeMode', type: { name: 'String' } }, role_profile: { client_side_validation: true, required: false, serialized_name: 'roleProfile', type: { name: 'Composite', class_name: 'CloudServiceRoleProfile' } }, os_profile: { client_side_validation: true, required: false, serialized_name: 'osProfile', type: { name: 'Composite', class_name: 'CloudServiceOsProfile' } }, network_profile: { client_side_validation: true, required: false, serialized_name: 'networkProfile', type: { name: 'Composite', class_name: 'CloudServiceNetworkProfile' } }, extension_profile: { client_side_validation: true, required: false, serialized_name: 'extensionProfile', type: { name: 'Composite', class_name: 'CloudServiceExtensionProfile' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'provisioningState', type: { name: 'String' } }, unique_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'uniqueId', type: { name: 'String' } } } } } end |