Class: Azure::CDN::Profiles::Latest::Mgmt::CDNClass

Inherits:
Object
  • Object
show all
Defined in:
lib/profiles/latest/modules/cdn_profile_module.rb

Overview

CDN

Direct Known Subclasses

Client

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ CDNClass

Returns a new instance of CDNClass.



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
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 72

def initialize(options = {})
  if options.is_a?(Hash) && options.length == 0
    @options = setup_options
  else
    @options = options
  end

  reset!(options)

  @configurable, @base_url, @options = self, nil, nil

  client_0 = Azure::CDN::Mgmt::V2017_04_02::CdnManagementClient.new(configurable.credentials, base_url, options)
  if(client_0.respond_to?(:subscription_id))
    client_0.subscription_id = configurable.subscription_id
  end
  @profiles = client_0.profiles
  @endpoints = client_0.endpoints
  @origins = client_0.origins
  @custom_domains = client_0.custom_domains
  @resource_usage_operations = client_0.resource_usage_operations
  @operations = client_0.operations
  @edge_nodes = client_0.edge_nodes

  @model_classes = ModelClasses.new
end

Instance Attribute Details

#base_urlObject (readonly)

Returns the value of attribute base_url.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def base_url
  @base_url
end

#configurableObject (readonly)

Returns the value of attribute configurable.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def configurable
  @configurable
end

#custom_domainsObject (readonly)

Returns the value of attribute custom_domains.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def custom_domains
  @custom_domains
end

#edge_nodesObject (readonly)

Returns the value of attribute edge_nodes.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def edge_nodes
  @edge_nodes
end

#endpointsObject (readonly)

Returns the value of attribute endpoints.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def endpoints
  @endpoints
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def model_classes
  @model_classes
end

#operationsObject (readonly)

Returns the value of attribute operations.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def operations
  @operations
end

#optionsObject (readonly)

Returns the value of attribute options.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def options
  @options
end

#originsObject (readonly)

Returns the value of attribute origins.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def origins
  @origins
end

#profilesObject (readonly)

Returns the value of attribute profiles.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def profiles
  @profiles
end

#resource_usage_operationsObject (readonly)

Returns the value of attribute resource_usage_operations.



70
71
72
# File 'lib/profiles/latest/modules/cdn_profile_module.rb', line 70

def resource_usage_operations
  @resource_usage_operations
end