Class: Google::Apis::WorkloadmanagerV1::SqlserverWorkload
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SqlserverWorkload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
The body of sqlserver workload
Instance Attribute Summary collapse
-
#ags ⇒ Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>
Output only.
-
#cluster ⇒ Google::Apis::WorkloadmanagerV1::Cluster
The cluster for sqlserver Corresponds to the JSON property
cluster. -
#databases ⇒ Array<Google::Apis::WorkloadmanagerV1::Database>
Output only.
-
#load_balancer_server ⇒ Google::Apis::WorkloadmanagerV1::LoadBalancerServer
The load balancer for sqlserver Corresponds to the JSON property
loadBalancerServer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlserverWorkload
constructor
A new instance of SqlserverWorkload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlserverWorkload
Returns a new instance of SqlserverWorkload.
1962 1963 1964 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ags ⇒ Array<Google::Apis::WorkloadmanagerV1::AvailabilityGroup>
Output only. The availability groups for sqlserver
Corresponds to the JSON property ags
1945 1946 1947 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1945 def ags @ags end |
#cluster ⇒ Google::Apis::WorkloadmanagerV1::Cluster
The cluster for sqlserver
Corresponds to the JSON property cluster
1950 1951 1952 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1950 def cluster @cluster end |
#databases ⇒ Array<Google::Apis::WorkloadmanagerV1::Database>
Output only. The databases for sqlserver
Corresponds to the JSON property databases
1955 1956 1957 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1955 def databases @databases end |
#load_balancer_server ⇒ Google::Apis::WorkloadmanagerV1::LoadBalancerServer
The load balancer for sqlserver
Corresponds to the JSON property loadBalancerServer
1960 1961 1962 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1960 def load_balancer_server @load_balancer_server end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1967 1968 1969 1970 1971 1972 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1967 def update!(**args) @ags = args[:ags] if args.key?(:ags) @cluster = args[:cluster] if args.key?(:cluster) @databases = args[:databases] if args.key?(:databases) @load_balancer_server = args[:load_balancer_server] if args.key?(:load_balancer_server) end |