Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.NfsSharesResource

The "nfsShares" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.NfsSharesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Baremetalsolution.v2
Assembly: Google.Apis.Baremetalsolution.v2.dll
Syntax
public class ProjectsResource.LocationsResource.NfsSharesResource

Constructors

NfsSharesResource(IClientService)

Constructs a new resource.

Declaration
public NfsSharesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Create(NfsShare, string)

Create an NFS share.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.CreateRequest Create(NfsShare body, string parent)
Parameters
Type Name Description
NfsShare body

The body of the request.

string parent

Required. The parent project and location.

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.CreateRequest

Delete(string)

Delete an NFS share. The underlying volume is automatically deleted.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the NFS share to delete.

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.DeleteRequest

Get(string)

Get details of a single NFS share.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Name of the resource.

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.GetRequest

List(string)

List NFS shares.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. Parent value for ListNfsSharesRequest.

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.ListRequest

Patch(NfsShare, string)

Update details of a single NFS share.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.PatchRequest Patch(NfsShare body, string name)
Parameters
Type Name Description
NfsShare body

The body of the request.

string name

Immutable. The name of the NFS share.

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.PatchRequest

Rename(RenameNfsShareRequest, string)

RenameNfsShare sets a new name for an nfsshare. Use with caution, previous names become immediately invalidated.

Declaration
public virtual ProjectsResource.LocationsResource.NfsSharesResource.RenameRequest Rename(RenameNfsShareRequest body, string name)
Parameters
Type Name Description
RenameNfsShareRequest body

The body of the request.

string name

Required. The name field is used to identify the nfsshare. Format: projects/{project}/locations/{location}/nfsshares/{nfsshare}

Returns
Type Description
ProjectsResource.LocationsResource.NfsSharesResource.RenameRequest
In this article
Back to top Generated by DocFX