Class: Azure::Profiles::Latest::ApiManagement::Mgmt::ApiManagementManagementClass

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

Defined Under Namespace

Classes: ModelClasses

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configurable, base_url = nil, options = nil) ⇒ ApiManagementManagementClass

Returns a new instance of ApiManagementManagementClass.



328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 328

def initialize(configurable, base_url=nil, options=nil)
  @configurable, @base_url, @options = configurable, base_url, options

  @client_0 = Azure::ApiManagement::Mgmt::V2019_12_01::ApiManagementClient.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)
  @api = @client_0.api
  @api_revision = @client_0.api_revision
  @api_release = @client_0.api_release
  @api_operation = @client_0.api_operation
  @api_operation_policy = @client_0.api_operation_policy
  @tag = @client_0.tag
  @api_product = @client_0.api_product
  @api_policy = @client_0.api_policy
  @api_schema = @client_0.api_schema
  @api_diagnostic = @client_0.api_diagnostic
  @api_issue = @client_0.api_issue
  @api_issue_comment = @client_0.api_issue_comment
  @api_issue_attachment = @client_0.api_issue_attachment
  @api_tag_description = @client_0.api_tag_description
  @operation_operations = @client_0.operation_operations
  @api_version_set = @client_0.api_version_set
  @authorization_server = @client_0.authorization_server
  @backend = @client_0.backend
  @cache = @client_0.cache
  @certificate = @client_0.certificate
  @api_management_operations = @client_0.api_management_operations
  @api_management_service_skus = @client_0.api_management_service_skus
  @api_management_service = @client_0.api_management_service
  @diagnostic = @client_0.diagnostic
  @email_template = @client_0.email_template
  @gateway = @client_0.gateway
  @gateway_hostname_configuration = @client_0.gateway_hostname_configuration
  @gateway_api = @client_0.gateway_api
  @group = @client_0.group
  @group_user = @client_0.group_user
  @identity_provider = @client_0.identity_provider
  @issue = @client_0.issue
  @logger = @client_0.logger
  @named_value = @client_0.named_value
  @network_status = @client_0.network_status
  @notification = @client_0.notification
  @notification_recipient_user = @client_0.notification_recipient_user
  @notification_recipient_email = @client_0.notification_recipient_email
  @open_id_connect_provider = @client_0.open_id_connect_provider
  @policy = @client_0.policy
  @policy_description = @client_0.policy_description
  @sign_in_settings = @client_0.
  @sign_up_settings = @client_0.
  @delegation_settings = @client_0.delegation_settings
  @product = @client_0.product
  @product_api = @client_0.product_api
  @product_group = @client_0.product_group
  @product_subscriptions = @client_0.product_subscriptions
  @product_policy = @client_0.product_policy
  @quota_by_counter_keys = @client_0.quota_by_counter_keys
  @quota_by_period_keys = @client_0.quota_by_period_keys
  @region = @client_0.region
  @reports = @client_0.reports
  @subscription = @client_0.subscription
  @tag_resource = @client_0.tag_resource
  @tenant_access = @client_0.tenant_access
  @tenant_access_git = @client_0.tenant_access_git
  @tenant_configuration = @client_0.tenant_configuration
  @user = @client_0.user
  @user_group = @client_0.user_group
  @user_subscription = @client_0.user_subscription
  @user_identities = @client_0.user_identities
  @user_confirmation_password = @client_0.user_confirmation_password
  @api_export = @client_0.api_export

  @model_classes = ModelClasses.new
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



409
410
411
412
413
414
415
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 409

def method_missing(method, *args)
  if @client_0.respond_to?method
    @client_0.send(method, *args)
  else
    super
  end
end

Instance Attribute Details

#apiObject (readonly)

Returns the value of attribute api.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api
  @api
end

#api_diagnosticObject (readonly)

Returns the value of attribute api_diagnostic.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_diagnostic
  @api_diagnostic
end

#api_exportObject (readonly)

Returns the value of attribute api_export.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_export
  @api_export
end

#api_issueObject (readonly)

Returns the value of attribute api_issue.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_issue
  @api_issue
end

#api_issue_attachmentObject (readonly)

Returns the value of attribute api_issue_attachment.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_issue_attachment
  @api_issue_attachment
end

#api_issue_commentObject (readonly)

Returns the value of attribute api_issue_comment.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_issue_comment
  @api_issue_comment
end

#api_management_operationsObject (readonly)

Returns the value of attribute api_management_operations.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_management_operations
  @api_management_operations
end

#api_management_serviceObject (readonly)

Returns the value of attribute api_management_service.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_management_service
  @api_management_service
end

#api_management_service_skusObject (readonly)

Returns the value of attribute api_management_service_skus.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_management_service_skus
  @api_management_service_skus
end

#api_operationObject (readonly)

Returns the value of attribute api_operation.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_operation
  @api_operation
end

#api_operation_policyObject (readonly)

Returns the value of attribute api_operation_policy.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_operation_policy
  @api_operation_policy
end

#api_policyObject (readonly)

Returns the value of attribute api_policy.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_policy
  @api_policy
end

#api_productObject (readonly)

Returns the value of attribute api_product.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_product
  @api_product
end

#api_releaseObject (readonly)

Returns the value of attribute api_release.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_release
  @api_release
end

#api_revisionObject (readonly)

Returns the value of attribute api_revision.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_revision
  @api_revision
end

#api_schemaObject (readonly)

Returns the value of attribute api_schema.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_schema
  @api_schema
end

#api_tag_descriptionObject (readonly)

Returns the value of attribute api_tag_description.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_tag_description
  @api_tag_description
end

#api_version_setObject (readonly)

Returns the value of attribute api_version_set.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def api_version_set
  @api_version_set
end

#authorization_serverObject (readonly)

Returns the value of attribute authorization_server.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def authorization_server
  @authorization_server
end

#backendObject (readonly)

Returns the value of attribute backend.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def backend
  @backend
end

#base_urlObject (readonly)

Returns the value of attribute base_url.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def base_url
  @base_url
end

#cacheObject (readonly)

Returns the value of attribute cache.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def cache
  @cache
end

#certificateObject (readonly)

Returns the value of attribute certificate.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def certificate
  @certificate
end

#configurableObject (readonly)

Returns the value of attribute configurable.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def configurable
  @configurable
end

#delegation_settingsObject (readonly)

Returns the value of attribute delegation_settings.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def delegation_settings
  @delegation_settings
end

#diagnosticObject (readonly)

Returns the value of attribute diagnostic.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def diagnostic
  @diagnostic
end

#email_templateObject (readonly)

Returns the value of attribute email_template.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def email_template
  @email_template
end

#gatewayObject (readonly)

Returns the value of attribute gateway.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def gateway
  @gateway
end

#gateway_apiObject (readonly)

Returns the value of attribute gateway_api.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def gateway_api
  @gateway_api
end

#gateway_hostname_configurationObject (readonly)

Returns the value of attribute gateway_hostname_configuration.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def gateway_hostname_configuration
  @gateway_hostname_configuration
end

#groupObject (readonly)

Returns the value of attribute group.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def group
  @group
end

#group_userObject (readonly)

Returns the value of attribute group_user.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def group_user
  @group_user
end

#identity_providerObject (readonly)

Returns the value of attribute identity_provider.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def identity_provider
  @identity_provider
end

#issueObject (readonly)

Returns the value of attribute issue.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def issue
  @issue
end

#loggerObject (readonly)

Returns the value of attribute logger.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def logger
  @logger
end

#model_classesObject (readonly)

Returns the value of attribute model_classes.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def model_classes
  @model_classes
end

#named_valueObject (readonly)

Returns the value of attribute named_value.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def named_value
  @named_value
end

#network_statusObject (readonly)

Returns the value of attribute network_status.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def network_status
  @network_status
end

#notificationObject (readonly)

Returns the value of attribute notification.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def notification
  @notification
end

#notification_recipient_emailObject (readonly)

Returns the value of attribute notification_recipient_email.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def notification_recipient_email
  @notification_recipient_email
end

#notification_recipient_userObject (readonly)

Returns the value of attribute notification_recipient_user.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def notification_recipient_user
  @notification_recipient_user
end

#open_id_connect_providerObject (readonly)

Returns the value of attribute open_id_connect_provider.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def open_id_connect_provider
  @open_id_connect_provider
end

#operation_operationsObject (readonly)

Returns the value of attribute operation_operations.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def operation_operations
  @operation_operations
end

#optionsObject (readonly)

Returns the value of attribute options.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def options
  @options
end

#policyObject (readonly)

Returns the value of attribute policy.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def policy
  @policy
end

#policy_descriptionObject (readonly)

Returns the value of attribute policy_description.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def policy_description
  @policy_description
end

#productObject (readonly)

Returns the value of attribute product.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def product
  @product
end

#product_apiObject (readonly)

Returns the value of attribute product_api.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def product_api
  @product_api
end

#product_groupObject (readonly)

Returns the value of attribute product_group.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def product_group
  @product_group
end

#product_policyObject (readonly)

Returns the value of attribute product_policy.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def product_policy
  @product_policy
end

#product_subscriptionsObject (readonly)

Returns the value of attribute product_subscriptions.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def product_subscriptions
  @product_subscriptions
end

#quota_by_counter_keysObject (readonly)

Returns the value of attribute quota_by_counter_keys.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def quota_by_counter_keys
  @quota_by_counter_keys
end

#quota_by_period_keysObject (readonly)

Returns the value of attribute quota_by_period_keys.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def quota_by_period_keys
  @quota_by_period_keys
end

#regionObject (readonly)

Returns the value of attribute region.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def region
  @region
end

#reportsObject (readonly)

Returns the value of attribute reports.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def reports
  @reports
end

#sign_in_settingsObject (readonly)

Returns the value of attribute sign_in_settings.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def 
  @sign_in_settings
end

#sign_up_settingsObject (readonly)

Returns the value of attribute sign_up_settings.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def 
  @sign_up_settings
end

#subscriptionObject (readonly)

Returns the value of attribute subscription.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def subscription
  @subscription
end

#tagObject (readonly)

Returns the value of attribute tag.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def tag
  @tag
end

#tag_resourceObject (readonly)

Returns the value of attribute tag_resource.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def tag_resource
  @tag_resource
end

#tenant_accessObject (readonly)

Returns the value of attribute tenant_access.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def tenant_access
  @tenant_access
end

#tenant_access_gitObject (readonly)

Returns the value of attribute tenant_access_git.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def tenant_access_git
  @tenant_access_git
end

#tenant_configurationObject (readonly)

Returns the value of attribute tenant_configuration.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def tenant_configuration
  @tenant_configuration
end

#userObject (readonly)

Returns the value of attribute user.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def user
  @user
end

#user_confirmation_passwordObject (readonly)

Returns the value of attribute user_confirmation_password.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def user_confirmation_password
  @user_confirmation_password
end

#user_groupObject (readonly)

Returns the value of attribute user_group.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def user_group
  @user_group
end

#user_identitiesObject (readonly)

Returns the value of attribute user_identities.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def user_identities
  @user_identities
end

#user_subscriptionObject (readonly)

Returns the value of attribute user_subscription.



326
327
328
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 326

def user_subscription
  @user_subscription
end

Instance Method Details

#add_telemetry(client) ⇒ Object



404
405
406
407
# File 'lib/latest/modules/apimanagement_profile_module.rb', line 404

def add_telemetry(client)
  profile_information = "Profiles/azure_sdk/#{Azure::VERSION}/Latest/ApiManagement/Mgmt"
  client.add_user_agent_information(profile_information)
end