public sealed class BareMetalSolutionClientImpl : BareMetalSolutionClientReference documentation and code samples for the Bare Metal Solution v2 API class BareMetalSolutionClientImpl.
BareMetalSolution client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Remarks
Performs management operations on Bare Metal Solution servers.
The baremetalsolution.googleapis.com service provides management
capabilities for Bare Metal Solution servers. To access the API methods, you
must assign Bare Metal Solution IAM roles containing the desired permissions
to your staff in your Google Cloud project. You must also enable the Bare
Metal Solution API. Once enabled, the methods act
upon specific servers in your Bare Metal Solution environment.
Constructors
BareMetalSolutionClientImpl(BareMetalSolution.BareMetalSolutionClient, BareMetalSolutionSettings, ILogger)
public BareMetalSolutionClientImpl(BareMetalSolution.BareMetalSolutionClient grpcClient, BareMetalSolutionSettings settings, ILogger logger)Constructs a client wrapper for the BareMetalSolution service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
BareMetalSolution.BareMetalSolutionClientThe underlying gRPC client. |
settings |
BareMetalSolutionSettingsThe base BareMetalSolutionSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
DetachLunOperationsClient
public override OperationsClient DetachLunOperationsClient { get; }The long-running operations client for DetachLun.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override BareMetalSolution.BareMetalSolutionClient GrpcClient { get; }The underlying gRPC BareMetalSolution client
| Property Value | |
|---|---|
| Type | Description |
BareMetalSolution.BareMetalSolutionClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
ResetInstanceOperationsClient
public override OperationsClient ResetInstanceOperationsClient { get; }The long-running operations client for ResetInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
ResizeVolumeOperationsClient
public override OperationsClient ResizeVolumeOperationsClient { get; }The long-running operations client for ResizeVolume.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
StartInstanceOperationsClient
public override OperationsClient StartInstanceOperationsClient { get; }The long-running operations client for StartInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
StopInstanceOperationsClient
public override OperationsClient StopInstanceOperationsClient { get; }The long-running operations client for StopInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateInstanceOperationsClient
public override OperationsClient UpdateInstanceOperationsClient { get; }The long-running operations client for UpdateInstance.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateNetworkOperationsClient
public override OperationsClient UpdateNetworkOperationsClient { get; }The long-running operations client for UpdateNetwork.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateNfsShareOperationsClient
public override OperationsClient UpdateNfsShareOperationsClient { get; }The long-running operations client for UpdateNfsShare.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateVolumeOperationsClient
public override OperationsClient UpdateVolumeOperationsClient { get; }The long-running operations client for UpdateVolume.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
DetachLun(DetachLunRequest, CallSettings)
public override Operation<Instance, OperationMetadata> DetachLun(DetachLunRequest request, CallSettings callSettings = null)Detach LUN from Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DetachLunRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Instance, OperationMetadata> |
The RPC response. |
DetachLunAsync(DetachLunRequest, CallSettings)
public override async Task<Operation<Instance, OperationMetadata>> DetachLunAsync(DetachLunRequest request, CallSettings callSettings = null)Detach LUN from Instance.
| Parameters | |
|---|---|
| Name | Description |
request |
DetachLunRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Instance, OperationMetadata>> |
A Task containing the RPC response. |
GetInstance(GetInstanceRequest, CallSettings)
public override Instance GetInstance(GetInstanceRequest request, CallSettings callSettings = null)Get details about a single server.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Instance |
The RPC response. |
GetInstanceAsync(GetInstanceRequest, CallSettings)
public override Task<Instance> GetInstanceAsync(GetInstanceRequest request, CallSettings callSettings = null)Get details about a single server.
| Parameters | |
|---|---|
| Name | Description |
request |
GetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Instance> |
A Task containing the RPC response. |
GetLun(GetLunRequest, CallSettings)
public override Lun GetLun(GetLunRequest request, CallSettings callSettings = null)Get details of a single storage logical unit number(LUN).
| Parameters | |
|---|---|
| Name | Description |
request |
GetLunRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Lun |
The RPC response. |
GetLunAsync(GetLunRequest, CallSettings)
public override Task<Lun> GetLunAsync(GetLunRequest request, CallSettings callSettings = null)Get details of a single storage logical unit number(LUN).
| Parameters | |
|---|---|
| Name | Description |
request |
GetLunRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Lun> |
A Task containing the RPC response. |
GetNetwork(GetNetworkRequest, CallSettings)
public override Network GetNetwork(GetNetworkRequest request, CallSettings callSettings = null)Get details of a single network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Network |
The RPC response. |
GetNetworkAsync(GetNetworkRequest, CallSettings)
public override Task<Network> GetNetworkAsync(GetNetworkRequest request, CallSettings callSettings = null)Get details of a single network.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Network> |
A Task containing the RPC response. |
GetNfsShare(GetNfsShareRequest, CallSettings)
public override NfsShare GetNfsShare(GetNfsShareRequest request, CallSettings callSettings = null)Get details of a single NFS share.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNfsShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
NfsShare |
The RPC response. |
GetNfsShareAsync(GetNfsShareRequest, CallSettings)
public override Task<NfsShare> GetNfsShareAsync(GetNfsShareRequest request, CallSettings callSettings = null)Get details of a single NFS share.
| Parameters | |
|---|---|
| Name | Description |
request |
GetNfsShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<NfsShare> |
A Task containing the RPC response. |
GetVolume(GetVolumeRequest, CallSettings)
public override Volume GetVolume(GetVolumeRequest request, CallSettings callSettings = null)Get details of a single storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Volume |
The RPC response. |
GetVolumeAsync(GetVolumeRequest, CallSettings)
public override Task<Volume> GetVolumeAsync(GetVolumeRequest request, CallSettings callSettings = null)Get details of a single storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
GetVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Volume> |
A Task containing the RPC response. |
ListInstances(ListInstancesRequest, CallSettings)
public override PagedEnumerable<ListInstancesResponse, Instance> ListInstances(ListInstancesRequest request, CallSettings callSettings = null)List servers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstancesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListInstancesResponse, Instance> |
A pageable sequence of Instance resources. |
ListInstancesAsync(ListInstancesRequest, CallSettings)
public override PagedAsyncEnumerable<ListInstancesResponse, Instance> ListInstancesAsync(ListInstancesRequest request, CallSettings callSettings = null)List servers in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListInstancesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListInstancesResponse, Instance> |
A pageable asynchronous sequence of Instance resources. |
ListLuns(ListLunsRequest, CallSettings)
public override PagedEnumerable<ListLunsResponse, Lun> ListLuns(ListLunsRequest request, CallSettings callSettings = null)List storage volume luns for given storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLunsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListLunsResponse, Lun> |
A pageable sequence of Lun resources. |
ListLunsAsync(ListLunsRequest, CallSettings)
public override PagedAsyncEnumerable<ListLunsResponse, Lun> ListLunsAsync(ListLunsRequest request, CallSettings callSettings = null)List storage volume luns for given storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLunsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListLunsResponse, Lun> |
A pageable asynchronous sequence of Lun resources. |
ListNetworks(ListNetworksRequest, CallSettings)
public override PagedEnumerable<ListNetworksResponse, Network> ListNetworks(ListNetworksRequest request, CallSettings callSettings = null)List network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListNetworksResponse, Network> |
A pageable sequence of Network resources. |
ListNetworksAsync(ListNetworksRequest, CallSettings)
public override PagedAsyncEnumerable<ListNetworksResponse, Network> ListNetworksAsync(ListNetworksRequest request, CallSettings callSettings = null)List network in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworksRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListNetworksResponse, Network> |
A pageable asynchronous sequence of Network resources. |
ListNetworkUsage(ListNetworkUsageRequest, CallSettings)
public override ListNetworkUsageResponse ListNetworkUsage(ListNetworkUsageRequest request, CallSettings callSettings = null)List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkUsageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ListNetworkUsageResponse |
The RPC response. |
ListNetworkUsageAsync(ListNetworkUsageRequest, CallSettings)
public override Task<ListNetworkUsageResponse> ListNetworkUsageAsync(ListNetworkUsageRequest request, CallSettings callSettings = null)List all Networks (and used IPs for each Network) in the vendor account associated with the specified project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNetworkUsageRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<ListNetworkUsageResponse> |
A Task containing the RPC response. |
ListNfsShares(ListNfsSharesRequest, CallSettings)
public override PagedEnumerable<ListNfsSharesResponse, NfsShare> ListNfsShares(ListNfsSharesRequest request, CallSettings callSettings = null)List NFS shares.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNfsSharesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListNfsSharesResponse, NfsShare> |
A pageable sequence of NfsShare resources. |
ListNfsSharesAsync(ListNfsSharesRequest, CallSettings)
public override PagedAsyncEnumerable<ListNfsSharesResponse, NfsShare> ListNfsSharesAsync(ListNfsSharesRequest request, CallSettings callSettings = null)List NFS shares.
| Parameters | |
|---|---|
| Name | Description |
request |
ListNfsSharesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListNfsSharesResponse, NfsShare> |
A pageable asynchronous sequence of NfsShare resources. |
ListVolumes(ListVolumesRequest, CallSettings)
public override PagedEnumerable<ListVolumesResponse, Volume> ListVolumes(ListVolumesRequest request, CallSettings callSettings = null)List storage volumes in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVolumesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListVolumesResponse, Volume> |
A pageable sequence of Volume resources. |
ListVolumesAsync(ListVolumesRequest, CallSettings)
public override PagedAsyncEnumerable<ListVolumesResponse, Volume> ListVolumesAsync(ListVolumesRequest request, CallSettings callSettings = null)List storage volumes in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListVolumesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListVolumesResponse, Volume> |
A pageable asynchronous sequence of Volume resources. |
ResetInstance(ResetInstanceRequest, CallSettings)
public override Operation<ResetInstanceResponse, OperationMetadata> ResetInstance(ResetInstanceRequest request, CallSettings callSettings = null)Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<ResetInstanceResponse, OperationMetadata> |
The RPC response. |
ResetInstanceAsync(ResetInstanceRequest, CallSettings)
public override async Task<Operation<ResetInstanceResponse, OperationMetadata>> ResetInstanceAsync(ResetInstanceRequest request, CallSettings callSettings = null)Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on.
| Parameters | |
|---|---|
| Name | Description |
request |
ResetInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<ResetInstanceResponse, OperationMetadata>> |
A Task containing the RPC response. |
ResizeVolume(ResizeVolumeRequest, CallSettings)
public override Operation<Volume, OperationMetadata> ResizeVolume(ResizeVolumeRequest request, CallSettings callSettings = null)Emergency Volume resize.
| Parameters | |
|---|---|
| Name | Description |
request |
ResizeVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Volume, OperationMetadata> |
The RPC response. |
ResizeVolumeAsync(ResizeVolumeRequest, CallSettings)
public override async Task<Operation<Volume, OperationMetadata>> ResizeVolumeAsync(ResizeVolumeRequest request, CallSettings callSettings = null)Emergency Volume resize.
| Parameters | |
|---|---|
| Name | Description |
request |
ResizeVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Volume, OperationMetadata>> |
A Task containing the RPC response. |
StartInstance(StartInstanceRequest, CallSettings)
public override Operation<StartInstanceResponse, OperationMetadata> StartInstance(StartInstanceRequest request, CallSettings callSettings = null)Starts a server that was shutdown.
| Parameters | |
|---|---|
| Name | Description |
request |
StartInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<StartInstanceResponse, OperationMetadata> |
The RPC response. |
StartInstanceAsync(StartInstanceRequest, CallSettings)
public override async Task<Operation<StartInstanceResponse, OperationMetadata>> StartInstanceAsync(StartInstanceRequest request, CallSettings callSettings = null)Starts a server that was shutdown.
| Parameters | |
|---|---|
| Name | Description |
request |
StartInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<StartInstanceResponse, OperationMetadata>> |
A Task containing the RPC response. |
StopInstance(StopInstanceRequest, CallSettings)
public override Operation<StopInstanceResponse, OperationMetadata> StopInstance(StopInstanceRequest request, CallSettings callSettings = null)Stop a running server.
| Parameters | |
|---|---|
| Name | Description |
request |
StopInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<StopInstanceResponse, OperationMetadata> |
The RPC response. |
StopInstanceAsync(StopInstanceRequest, CallSettings)
public override async Task<Operation<StopInstanceResponse, OperationMetadata>> StopInstanceAsync(StopInstanceRequest request, CallSettings callSettings = null)Stop a running server.
| Parameters | |
|---|---|
| Name | Description |
request |
StopInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<StopInstanceResponse, OperationMetadata>> |
A Task containing the RPC response. |
UpdateInstance(UpdateInstanceRequest, CallSettings)
public override Operation<Instance, OperationMetadata> UpdateInstance(UpdateInstanceRequest request, CallSettings callSettings = null)Update details of a single server.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Instance, OperationMetadata> |
The RPC response. |
UpdateInstanceAsync(UpdateInstanceRequest, CallSettings)
public override async Task<Operation<Instance, OperationMetadata>> UpdateInstanceAsync(UpdateInstanceRequest request, CallSettings callSettings = null)Update details of a single server.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateInstanceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Instance, OperationMetadata>> |
A Task containing the RPC response. |
UpdateNetwork(UpdateNetworkRequest, CallSettings)
public override Operation<Network, OperationMetadata> UpdateNetwork(UpdateNetworkRequest request, CallSettings callSettings = null)Update details of a single network.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Network, OperationMetadata> |
The RPC response. |
UpdateNetworkAsync(UpdateNetworkRequest, CallSettings)
public override async Task<Operation<Network, OperationMetadata>> UpdateNetworkAsync(UpdateNetworkRequest request, CallSettings callSettings = null)Update details of a single network.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNetworkRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Network, OperationMetadata>> |
A Task containing the RPC response. |
UpdateNfsShare(UpdateNfsShareRequest, CallSettings)
public override Operation<NfsShare, OperationMetadata> UpdateNfsShare(UpdateNfsShareRequest request, CallSettings callSettings = null)Update details of a single NFS share.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNfsShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<NfsShare, OperationMetadata> |
The RPC response. |
UpdateNfsShareAsync(UpdateNfsShareRequest, CallSettings)
public override async Task<Operation<NfsShare, OperationMetadata>> UpdateNfsShareAsync(UpdateNfsShareRequest request, CallSettings callSettings = null)Update details of a single NFS share.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateNfsShareRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<NfsShare, OperationMetadata>> |
A Task containing the RPC response. |
UpdateVolume(UpdateVolumeRequest, CallSettings)
public override Operation<Volume, OperationMetadata> UpdateVolume(UpdateVolumeRequest request, CallSettings callSettings = null)Update details of a single storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Operation<Volume, OperationMetadata> |
The RPC response. |
UpdateVolumeAsync(UpdateVolumeRequest, CallSettings)
public override async Task<Operation<Volume, OperationMetadata>> UpdateVolumeAsync(UpdateVolumeRequest request, CallSettings callSettings = null)Update details of a single storage volume.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateVolumeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Operation<Volume, OperationMetadata>> |
A Task containing the RPC response. |