public sealed class GlobalVmExtensionPoliciesClientImpl : GlobalVmExtensionPoliciesClientReference documentation and code samples for the Compute Engine v1 API class GlobalVmExtensionPoliciesClientImpl.
GlobalVmExtensionPolicies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The GlobalVmExtensionPolicies API.
Constructors
GlobalVmExtensionPoliciesClientImpl(GlobalVmExtensionPoliciesClient, GlobalVmExtensionPoliciesSettings, ILogger)
public GlobalVmExtensionPoliciesClientImpl(GlobalVmExtensionPolicies.GlobalVmExtensionPoliciesClient grpcClient, GlobalVmExtensionPoliciesSettings settings, ILogger logger)Constructs a client wrapper for the GlobalVmExtensionPolicies service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
GlobalVmExtensionPoliciesGlobalVmExtensionPoliciesClientThe underlying gRPC client. |
settings |
GlobalVmExtensionPoliciesSettingsThe base GlobalVmExtensionPoliciesSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }The long-running operations client for Delete.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override GlobalVmExtensionPolicies.GlobalVmExtensionPoliciesClient GrpcClient { get; }The underlying gRPC GlobalVmExtensionPolicies client
| Property Value | |
|---|---|
| Type | Description |
GlobalVmExtensionPoliciesGlobalVmExtensionPoliciesClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }The long-running operations client for Update.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AggregatedList(AggregatedListGlobalVmExtensionPoliciesRequest, CallSettings)
public override PagedEnumerable<VmExtensionPolicyAggregatedListResponse, KeyValuePair<string, VmExtensionPoliciesScopedList>> AggregatedList(AggregatedListGlobalVmExtensionPoliciesRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableVmExtensionPolicyAggregatedListResponseKeyValuePairstringVmExtensionPoliciesScopedList |
A pageable sequence of KeyValuePair<TKey, TValue> resources. |
AggregatedListAsync(AggregatedListGlobalVmExtensionPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<VmExtensionPolicyAggregatedListResponse, KeyValuePair<string, VmExtensionPoliciesScopedList>> AggregatedListAsync(AggregatedListGlobalVmExtensionPoliciesRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableVmExtensionPolicyAggregatedListResponseKeyValuePairstringVmExtensionPoliciesScopedList |
A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Delete(DeleteGlobalVmExtensionPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteGlobalVmExtensionPolicyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetGlobalVmExtensionPolicyRequest, CallSettings)
public override GlobalVmExtensionPolicy Get(GetGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Gets details of a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GlobalVmExtensionPolicy |
The RPC response. |
GetAsync(GetGlobalVmExtensionPolicyRequest, CallSettings)
public override Task<GlobalVmExtensionPolicy> GetAsync(GetGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Gets details of a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
GetGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGlobalVmExtensionPolicy |
A Task containing the RPC response. |
Insert(InsertGlobalVmExtensionPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Creates a new project level GlobalVmExtensionPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
InsertAsync(InsertGlobalVmExtensionPolicyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Creates a new project level GlobalVmExtensionPolicy.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
List(ListGlobalVmExtensionPoliciesRequest, CallSettings)
public override PagedEnumerable<GlobalVmExtensionPolicyList, GlobalVmExtensionPolicy> List(ListGlobalVmExtensionPoliciesRequest request, CallSettings callSettings = null)Lists global VM extension policies.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalVmExtensionPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableGlobalVmExtensionPolicyListGlobalVmExtensionPolicy |
A pageable sequence of GlobalVmExtensionPolicy resources. |
ListAsync(ListGlobalVmExtensionPoliciesRequest, CallSettings)
public override PagedAsyncEnumerable<GlobalVmExtensionPolicyList, GlobalVmExtensionPolicy> ListAsync(ListGlobalVmExtensionPoliciesRequest request, CallSettings callSettings = null)Lists global VM extension policies.
| Parameters | |
|---|---|
| Name | Description |
request |
ListGlobalVmExtensionPoliciesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableGlobalVmExtensionPolicyListGlobalVmExtensionPolicy |
A pageable asynchronous sequence of GlobalVmExtensionPolicy resources. |
Update(UpdateGlobalVmExtensionPolicyRequest, CallSettings)
public override Operation<Operation, Operation> Update(UpdateGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Updates a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
UpdateAsync(UpdateGlobalVmExtensionPolicyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateGlobalVmExtensionPolicyRequest request, CallSettings callSettings = null)Updates a global VM extension policy.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateGlobalVmExtensionPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |