Class: Azure::Profiles::Latest::Postgresql::Mgmt::PostgresqlManagementClass
- Inherits:
-
Object
- Object
- Azure::Profiles::Latest::Postgresql::Mgmt::PostgresqlManagementClass
- Defined in:
- lib/latest/modules/postgresql_profile_module.rb
Defined Under Namespace
Classes: ModelClasses
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#check_name_availability ⇒ Object
readonly
Returns the value of attribute check_name_availability.
-
#configurable ⇒ Object
readonly
Returns the value of attribute configurable.
-
#configurations ⇒ Object
readonly
Returns the value of attribute configurations.
-
#databases ⇒ Object
readonly
Returns the value of attribute databases.
-
#firewall_rules ⇒ Object
readonly
Returns the value of attribute firewall_rules.
-
#location_based_performance_tier ⇒ Object
readonly
Returns the value of attribute location_based_performance_tier.
-
#log_files ⇒ Object
readonly
Returns the value of attribute log_files.
-
#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.
-
#replicas ⇒ Object
readonly
Returns the value of attribute replicas.
-
#server_security_alert_policies ⇒ Object
readonly
Returns the value of attribute server_security_alert_policies.
-
#servers ⇒ Object
readonly
Returns the value of attribute servers.
-
#virtual_network_rules ⇒ Object
readonly
Returns the value of attribute virtual_network_rules.
Instance Method Summary collapse
- #add_telemetry(client) ⇒ Object
-
#initialize(configurable, base_url = nil, options = nil) ⇒ PostgresqlManagementClass
constructor
A new instance of PostgresqlManagementClass.
- #method_missing(method, *args) ⇒ Object
Constructor Details
#initialize(configurable, base_url = nil, options = nil) ⇒ PostgresqlManagementClass
Returns a new instance of PostgresqlManagementClass.
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 69 def initialize(configurable, base_url=nil, =nil) @configurable, @base_url, @options = configurable, base_url, @client_0 = Azure::Postgresql::Mgmt::V2017_12_01::PostgreSQLManagementClient.new(configurable.credentials, base_url, ) if(@client_0.respond_to?(:subscription_id)) @client_0.subscription_id = configurable.subscription_id end add_telemetry(@client_0) @servers = @client_0.servers @replicas = @client_0.replicas @firewall_rules = @client_0.firewall_rules @virtual_network_rules = @client_0.virtual_network_rules @databases = @client_0.databases @configurations = @client_0.configurations @log_files = @client_0.log_files @location_based_performance_tier = @client_0.location_based_performance_tier @check_name_availability = @client_0.check_name_availability @server_security_alert_policies = @client_0.server_security_alert_policies @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
97 98 99 100 101 102 103 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 97 def method_missing(method, *args) if @client_0.respond_to?method @client_0.send(method, *args) else super end end |
Instance Attribute Details
#base_url ⇒ Object (readonly)
Returns the value of attribute base_url.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def base_url @base_url end |
#check_name_availability ⇒ Object (readonly)
Returns the value of attribute check_name_availability.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def check_name_availability @check_name_availability end |
#configurable ⇒ Object (readonly)
Returns the value of attribute configurable.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def configurable @configurable end |
#configurations ⇒ Object (readonly)
Returns the value of attribute configurations.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def configurations @configurations end |
#databases ⇒ Object (readonly)
Returns the value of attribute databases.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def databases @databases end |
#firewall_rules ⇒ Object (readonly)
Returns the value of attribute firewall_rules.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def firewall_rules @firewall_rules end |
#location_based_performance_tier ⇒ Object (readonly)
Returns the value of attribute location_based_performance_tier.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def location_based_performance_tier @location_based_performance_tier end |
#log_files ⇒ Object (readonly)
Returns the value of attribute log_files.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def log_files @log_files end |
#model_classes ⇒ Object (readonly)
Returns the value of attribute model_classes.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def model_classes @model_classes end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def operations @operations end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def @options end |
#replicas ⇒ Object (readonly)
Returns the value of attribute replicas.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def replicas @replicas end |
#server_security_alert_policies ⇒ Object (readonly)
Returns the value of attribute server_security_alert_policies.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def server_security_alert_policies @server_security_alert_policies end |
#servers ⇒ Object (readonly)
Returns the value of attribute servers.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def servers @servers end |
#virtual_network_rules ⇒ Object (readonly)
Returns the value of attribute virtual_network_rules.
67 68 69 |
# File 'lib/latest/modules/postgresql_profile_module.rb', line 67 def virtual_network_rules @virtual_network_rules end |