Documentation ¶
Index ¶
- type Client
- func (c Client) Create(ctx context.Context, fileSystemName string, input CreateInput) (resp CreateResponse, err error)
- func (c Client) Delete(ctx context.Context, fileSystemName string) (resp DeleteResponse, err error)
- func (c Client) GetProperties(ctx context.Context, fileSystemName string) (resp GetPropertiesResponse, err error)
- func (c Client) GetResourceManagerResourceID(subscriptionID, resourceGroup, accountName, fileSystemName string) string
- func (c Client) SetProperties(ctx context.Context, fileSystemName string, input SetPropertiesInput) (resp SetPropertiesResponse, err error)
- type CreateInput
- type CreateResponse
- type DeleteResponse
- type FileSystemId
- type GetPropertiesResponse
- type SetPropertiesInput
- type SetPropertiesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the base client for Data Lake Store Filesystems.
func NewWithBaseUri ¶ added in v0.21.0
func (Client) Create ¶
func (c Client) Create(ctx context.Context, fileSystemName string, input CreateInput) (resp CreateResponse, err error)
Create creates a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) GetProperties ¶
func (c Client) GetProperties(ctx context.Context, fileSystemName string) (resp GetPropertiesResponse, err error)
GetProperties gets the properties for a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) GetResourceManagerResourceID ¶ added in v0.21.0
func (c Client) GetResourceManagerResourceID(subscriptionID, resourceGroup, accountName, fileSystemName string) string
GetResourceManagerResourceID returns the Resource Manager specific ResourceID for a specific Data Lake FileSystem
func (Client) SetProperties ¶
func (c Client) SetProperties(ctx context.Context, fileSystemName string, input SetPropertiesInput) (resp SetPropertiesResponse, err error)
SetProperties sets the Properties for a Data Lake Store Gen2 FileSystem within a Storage Account
type CreateInput ¶
type CreateInput struct { // A map of base64-encoded strings to store as user-defined properties with the File System // Note that items may only contain ASCII characters in the ISO-8859-1 character set. // This automatically gets converted to a comma-separated list of name and // value pairs before sending to the API Properties map[string]string }
type CreateResponse ¶ added in v0.21.0
type DeleteResponse ¶ added in v0.21.0
type FileSystemId ¶ added in v0.22.0
type FileSystemId struct { // AccountId specifies the ID of the Storage Account where this Data Lake FileSystem exists. AccountId accounts.AccountId // FileSystemName specifies the name of this Data Lake FileSystem. FileSystemName string }
func NewFileSystemID ¶ added in v0.22.0
func NewFileSystemID(accountId accounts.AccountId, fileSystemName string) FileSystemId
func ParseFileSystemID ¶ added in v0.22.0
func ParseFileSystemID(input, domainSuffix string) (*FileSystemId, error)
ParseFileSystemID parses `input` into a File System ID using a known `domainSuffix`
func (FileSystemId) ID ¶ added in v0.22.0
func (b FileSystemId) ID() string
func (FileSystemId) String ¶ added in v0.22.0
func (b FileSystemId) String() string
type GetPropertiesResponse ¶
type GetPropertiesResponse struct { HttpResponse *client.Response // A map of base64-encoded strings to store as user-defined properties with the File System // Note that items may only contain ASCII characters in the ISO-8859-1 character set. // This automatically gets converted to a comma-separated list of name and // value pairs before sending to the API Properties map[string]string // Is Hierarchical Namespace Enabled? NamespaceEnabled bool }
type SetPropertiesInput ¶
type SetPropertiesInput struct { // A map of base64-encoded strings to store as user-defined properties with the File System // Note that items may only contain ASCII characters in the ISO-8859-1 character set. // This automatically gets converted to a comma-separated list of name and // value pairs before sending to the API Properties map[string]string // Optional - A date and time value. // Specify this header to perform the operation only if the resource has been modified since the specified date and time. IfModifiedSince *string // Optional - A date and time value. // Specify this header to perform the operation only if the resource has not been modified since the specified date and time. IfUnmodifiedSince *string }
type SetPropertiesResponse ¶ added in v0.21.0
Click to show internal directories.
Click to hide internal directories.