class Azure::Profiles::Latest::DeploymentManager::Mgmt::DeploymentManagerManagementClass

Attributes

artifact_sources[R]
base_url[R]
configurable[R]
model_classes[R]
operations[R]
options[R]
rollouts[R]
service_topologies[R]
service_units[R]
services[R]
steps[R]

Public Class Methods

new(configurable, base_url=nil, options=nil) click to toggle source
# File lib/latest/modules/deploymentmanager_profile_module.rb, line 74
def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::DeploymentManager::Mgmt::V2019_11_01_preview::AzureDeploymentManager.new(configurable.credentials, base_url, options)
  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

Public Instance Methods

add_telemetry(client) click to toggle source
# File lib/latest/modules/deploymentmanager_profile_module.rb, line 93
def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/DeploymentManager/Mgmt"
  client.add_user_agent_information(profile_information)
end
method_missing(method, *args) click to toggle source
Calls superclass method
# File lib/latest/modules/deploymentmanager_profile_module.rb, line 98
def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end