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.
1949 1950 1951 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1949 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
1932 1933 1934 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1932 def ags @ags end |
#cluster ⇒ Google::Apis::WorkloadmanagerV1::Cluster
The cluster for sqlserver
Corresponds to the JSON property cluster
1937 1938 1939 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1937 def cluster @cluster end |
#databases ⇒ Array<Google::Apis::WorkloadmanagerV1::Database>
Output only. The databases for sqlserver
Corresponds to the JSON property databases
1942 1943 1944 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1942 def databases @databases end |
#load_balancer_server ⇒ Google::Apis::WorkloadmanagerV1::LoadBalancerServer
The load balancer for sqlserver
Corresponds to the JSON property loadBalancerServer
1947 1948 1949 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1947 def load_balancer_server @load_balancer_server end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1954 1955 1956 1957 1958 1959 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1954 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 |