Reference documentation and code samples for the App Hub V1 API class Google::Cloud::AppHub::V1::DiscoveredWorkload.
DiscoveredWorkload is a binary deployment (such as managed instance groups (MIGs) and GKE deployments) that performs the smallest logical subset of business functionality. A discovered workload can be registered to an App Hub Workload.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
Returns
- (::String) — Identifier. The resource name of the discovered workload. Format: "projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}"
#workload_properties
def workload_properties() -> ::Google::Cloud::AppHub::V1::WorkloadProperties
Returns
- (::Google::Cloud::AppHub::V1::WorkloadProperties) — Output only. Properties of an underlying compute resource represented by the Workload. These are immutable.
#workload_reference
def workload_reference() -> ::Google::Cloud::AppHub::V1::WorkloadReference
Returns
- (::Google::Cloud::AppHub::V1::WorkloadReference) — Output only. Reference of an underlying compute resource represented by the Workload. These are immutable.