Documentation ¶
Index ¶
- Constants
- func UserAgent() string
- type Client
- func (client Client) Create(ctx context.Context, accountName string, fileSystemName string, ...) (result autorest.Response, err error)
- func (client Client) CreatePreparer(ctx context.Context, accountName string, fileSystemName string, ...) (*http.Request, error)
- func (client Client) CreateResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) CreateSender(req *http.Request) (*http.Response, error)
- func (client Client) Delete(ctx context.Context, accountName string, fileSystemName string) (result autorest.Response, err error)
- func (client Client) DeletePreparer(ctx context.Context, accountName string, fileSystemName string) (*http.Request, error)
- func (client Client) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) DeleteSender(req *http.Request) (*http.Response, error)
- func (client Client) GetProperties(ctx context.Context, accountName string, fileSystemName string) (result GetPropertiesResponse, err error)
- func (client Client) GetPropertiesPreparer(ctx context.Context, accountName string, fileSystemName string) (*http.Request, error)
- func (client Client) GetPropertiesResponder(resp *http.Response) (result GetPropertiesResponse, err error)
- func (client Client) GetPropertiesSender(req *http.Request) (*http.Response, error)
- func (client Client) GetResourceID(accountName, shareName string) string
- func (client Client) SetProperties(ctx context.Context, accountName string, fileSystemName string, ...) (result autorest.Response, err error)
- func (client Client) SetPropertiesPreparer(ctx context.Context, accountName string, fileSystemName string, ...) (*http.Request, error)
- func (client Client) SetPropertiesResponder(resp *http.Response) (result autorest.Response, err error)
- func (client Client) SetPropertiesSender(req *http.Request) (*http.Response, error)
- type CreateInput
- type GetPropertiesResponse
- type ResourceID
- type SetPropertiesInput
Constants ¶
const APIVersion = "2020-08-04"
APIVersion is the version of the API used for all Storage API Operations
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
Client is the base client for Data Lake Storage FileSystem
func NewWithEnvironment ¶
func NewWithEnvironment(environment azure.Environment) Client
NewWithEnvironment creates an instance of the Data Lake Storage FileSystem client.
func (Client) Create ¶
func (client Client) Create(ctx context.Context, accountName string, fileSystemName string, input CreateInput) (result autorest.Response, err error)
Create creates a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) CreatePreparer ¶
func (client Client) CreatePreparer(ctx context.Context, accountName string, fileSystemName string, input CreateInput) (*http.Request, error)
CreatePreparer prepares the Create request.
func (Client) CreateResponder ¶
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (Client) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (Client) Delete ¶
func (client Client) Delete(ctx context.Context, accountName string, fileSystemName string) (result autorest.Response, err error)
Delete deletes a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) DeletePreparer ¶
func (client Client) DeletePreparer(ctx context.Context, accountName string, fileSystemName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (Client) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (Client) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (Client) GetProperties ¶
func (client Client) GetProperties(ctx context.Context, accountName string, fileSystemName string) (result GetPropertiesResponse, err error)
GetProperties gets the properties for a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) GetPropertiesPreparer ¶
func (client Client) GetPropertiesPreparer(ctx context.Context, accountName string, fileSystemName string) (*http.Request, error)
GetPropertiesPreparer prepares the GetProperties request.
func (Client) GetPropertiesResponder ¶
func (client Client) GetPropertiesResponder(resp *http.Response) (result GetPropertiesResponse, err error)
GetPropertiesResponder handles the response to the GetProperties request. The method always closes the http.Response Body.
func (Client) GetPropertiesSender ¶
GetPropertiesSender sends the GetProperties request. The method will close the http.Response Body if it receives an error.
func (Client) GetResourceID ¶
GetResourceID returns the Resource ID for the given Data Lake Storage FileSystem This can be useful when, for example, you're using this as a unique identifier
func (Client) SetProperties ¶
func (client Client) SetProperties(ctx context.Context, accountName string, fileSystemName string, input SetPropertiesInput) (result autorest.Response, err error)
SetProperties sets the Properties for a Data Lake Store Gen2 FileSystem within a Storage Account
func (Client) SetPropertiesPreparer ¶
func (client Client) SetPropertiesPreparer(ctx context.Context, accountName string, fileSystemName string, input SetPropertiesInput) (*http.Request, error)
SetPropertiesPreparer prepares the SetProperties request.
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 GetPropertiesResponse ¶
type GetPropertiesResponse struct { autorest.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 ResourceID ¶
func ParseResourceID ¶
func ParseResourceID(id string) (*ResourceID, error)
ParseResourceID parses the specified Resource ID and returns an object which can be used to interact with the Data Lake Storage FileSystem API's
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 }