Documentation ¶
Index ¶
- type Client
- func (c Client) Create(ctx context.Context, fileSystemName string, input CreateInput) (result CreateResponse, err error)
- func (c Client) Delete(ctx context.Context, fileSystemName string) (result DeleteResponse, err error)
- func (c Client) GetProperties(ctx context.Context, fileSystemName string) (result GetPropertiesResponse, err error)
- func (c Client) GetResourceManagerResourceID(subscriptionID, resourceGroup, accountName, fileSystemName string) string
- func (c Client) SetProperties(ctx context.Context, fileSystemName string, input SetPropertiesInput) (result 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 ¶
func (Client) Create ¶
func (c Client) Create(ctx context.Context, fileSystemName string, input CreateInput) (result CreateResponse, err error)
Create creates a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) Delete ¶
func (c Client) Delete(ctx context.Context, fileSystemName string) (result DeleteResponse, err error)
Delete deletes a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) GetProperties ¶
func (c Client) GetProperties(ctx context.Context, fileSystemName string) (result GetPropertiesResponse, err error)
GetProperties gets the properties for a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) GetResourceManagerResourceID ¶
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) (result SetPropertiesResponse, err error)
SetProperties sets the Properties for a Data Lake Store Gen2 FileSystem within a Storage Account
type CreateInput ¶
type CreateInput struct { // The encryption scope to set as the default on the filesystem. DefaultEncryptionScope string // 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 ¶
type DeleteResponse ¶
type FileSystemId ¶
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 ¶
func NewFileSystemID(accountId accounts.AccountId, fileSystemName string) FileSystemId
func ParseFileSystemID ¶
func ParseFileSystemID(input, domainSuffix string) (*FileSystemId, error)
ParseFileSystemID parses `input` into a File System ID using a known `domainSuffix`
func (FileSystemId) ID ¶
func (b FileSystemId) ID() string
func (FileSystemId) String ¶
func (b FileSystemId) String() string
type GetPropertiesResponse ¶
type GetPropertiesResponse struct { HttpResponse *http.Response // The default encryption scope for the filesystem. DefaultEncryptionScope string // 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 ¶
Click to show internal directories.
Click to hide internal directories.