[BindServiceMethod(typeof(GlobalVmExtensionPolicies), "BindService")]
public abstract class GlobalVmExtensionPolicies.GlobalVmExtensionPoliciesBaseReference documentation and code samples for the Compute Engine v1 API class GlobalVmExtensionPolicies.GlobalVmExtensionPoliciesBase.
Base class for server-side implementations of GlobalVmExtensionPolicies
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Methods
AggregatedList(AggregatedListGlobalVmExtensionPoliciesRequest, ServerCallContext)
public virtual Task<VmExtensionPolicyAggregatedListResponse> AggregatedList(AggregatedListGlobalVmExtensionPoliciesRequest request, ServerCallContext context)Retrieves the list of all VM Extension Policy resources available to the specified project.
To prevent failure, it's recommended that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListGlobalVmExtensionPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskVmExtensionPolicyAggregatedListResponse |
The response to send back to the client (wrapped by a task). |
Delete(DeleteGlobalVmExtensionPolicyRequest, ServerCallContext)
public virtual Task<Operation> Delete(DeleteGlobalVmExtensionPolicyRequest request, ServerCallContext context)Purge scoped resources (zonal policies) from a global VM extension policy, and then delete the global VM extension policy. Purge of the scoped resources is a pre-condition of the global VM extension policy deletion. The deletion of the global VM extension policy happens after the purge rollout is done, so it's not a part of the LRO. It's an automatic process that triggers in the backend.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteGlobalVmExtensionPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
Get(GetGlobalVmExtensionPolicyRequest, ServerCallContext)
public virtual Task<GlobalVmExtensionPolicy> Get(GetGlobalVmExtensionPolicyRequest request, ServerCallContext context)Gets details of a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalVmExtensionPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalVmExtensionPolicy |
The response to send back to the client (wrapped by a task). |
Insert(InsertGlobalVmExtensionPolicyRequest, ServerCallContext)
public virtual Task<Operation> Insert(InsertGlobalVmExtensionPolicyRequest request, ServerCallContext context)Creates a new project level GlobalVmExtensionPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalVmExtensionPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
List(ListGlobalVmExtensionPoliciesRequest, ServerCallContext)
public virtual Task<GlobalVmExtensionPolicyList> List(ListGlobalVmExtensionPoliciesRequest request, ServerCallContext context)Lists global VM extension policies.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalVmExtensionPoliciesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalVmExtensionPolicyList |
The response to send back to the client (wrapped by a task). |
Update(UpdateGlobalVmExtensionPolicyRequest, ServerCallContext)
public virtual Task<Operation> Update(UpdateGlobalVmExtensionPolicyRequest request, ServerCallContext context)Updates a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGlobalVmExtensionPolicyRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |