Class: Azure::DeploymentManager::Profiles::Latest::Mgmt::DeploymentManagerManagementClass
- Inherits:
-
Object
- Object
- Azure::DeploymentManager::Profiles::Latest::Mgmt::DeploymentManagerManagementClass
- Defined in:
- lib/profiles/latest/modules/deploymentmanager_profile_module.rb
Overview
DeploymentManagerManagementClass
Direct Known Subclasses
Instance Attribute Summary collapse
-
#artifact_sources ⇒ Object
readonly
Returns the value of attribute artifact_sources.
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#model_classes ⇒ Object
readonly
Returns the value of attribute model_classes.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#rollouts ⇒ Object
readonly
Returns the value of attribute rollouts.
-
#service_topologies ⇒ Object
readonly
Returns the value of attribute service_topologies.
-
#service_units ⇒ Object
readonly
Returns the value of attribute service_units.
-
#services ⇒ Object
readonly
Returns the value of attribute services.
-
#steps ⇒ Object
readonly
Returns the value of attribute steps.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(options = {}) ⇒ DeploymentManagerManagementClass
constructor
A new instance of DeploymentManagerManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ DeploymentManagerManagementClass
Returns a new instance of DeploymentManagerManagementClass.
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 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 76 def initialize( = {}) if .is_a?(Hash) && .length == 0 = else = end reset!() @configurable = self @base_url = [:base_url].nil? ? nil:options[:base_url] = [:options].nil? ? nil:options[:options] @client_0 = Azure::DeploymentManager::Mgmt::V2019_11_01_preview::AzureDeploymentManager.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @service_topologies = @client_0.service_topologies @services = @client_0.services @service_units = @client_0.service_units @steps = @client_0.steps @rollouts = @client_0.rollouts @artifact_sources = @client_0.artifact_sources @operations = @client_0.operations @model_classes = ModelClasses.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
110 111 112 113 114 115 116 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 110 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#artifact_sources ⇒ Object (readonly)
Returns the value of attribute artifact_sources.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def artifact_sources @artifact_sources end |
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def base_url @base_url end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def configurable @configurable end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def end |
#rollouts ⇒ Object (readonly)
Returns the value of attribute rollouts.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def rollouts @rollouts end |
#service_topologies ⇒ Object (readonly)
Returns the value of attribute service_topologies.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def service_topologies @service_topologies end |
#service_units ⇒ Object (readonly)
Returns the value of attribute service_units.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def service_units @service_units end |
#services ⇒ Object (readonly)
Returns the value of attribute services.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def services @services end |
#steps ⇒ Object (readonly)
Returns the value of attribute steps.
74 75 76 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 74 def steps @steps end |
Instance Method Details
#add_telemetry(client) ⇒ Object
105 106 107 108 |
# File 'lib/profiles/latest/modules/deploymentmanager_profile_module.rb', line 105 def add_telemetry(client) profile_information = 'Profiles/Latest/DeploymentManager/Mgmt' client.add_user_agent_information(profile_information) end |