datalakestoreaccounts

package
v0.20240903.1111904 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/datalakeanalytics/2016-11-01/datalakestoreaccounts Documentation

The datalakestoreaccounts SDK allows for interaction with the Azure Resource Manager Service datalakeanalytics (API Version 2016-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/datalakeanalytics/2016-11-01/datalakestoreaccounts"

Client Initialization

client := datalakestoreaccounts.NewDataLakeStoreAccountsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DataLakeStoreAccountsClient.Add

ctx := context.TODO()
id := datalakestoreaccounts.NewDataLakeStoreAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "dataLakeStoreAccountValue")

payload := datalakestoreaccounts.AddDataLakeStoreParameters{
	// ...
}


read, err := client.Add(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataLakeStoreAccountsClient.Delete

ctx := context.TODO()
id := datalakestoreaccounts.NewDataLakeStoreAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "dataLakeStoreAccountValue")

read, err := client.Delete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataLakeStoreAccountsClient.Get

ctx := context.TODO()
id := datalakestoreaccounts.NewDataLakeStoreAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "dataLakeStoreAccountValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DataLakeStoreAccountsClient.ListByAccount

ctx := context.TODO()
id := datalakestoreaccounts.NewAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

// alternatively `client.ListByAccount(ctx, id, datalakestoreaccounts.DefaultListByAccountOperationOptions())` can be used to do batched pagination
items, err := client.ListByAccountComplete(ctx, id, datalakestoreaccounts.DefaultListByAccountOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAccountID

func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateAccountID checks that 'input' can be parsed as a Account ID

func ValidateDataLakeStoreAccountID

func ValidateDataLakeStoreAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateDataLakeStoreAccountID checks that 'input' can be parsed as a Data Lake Store Account ID

Types

type AccountId

type AccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

AccountId is a struct representing the Resource ID for a Account

func NewAccountID

func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId

NewAccountID returns a new AccountId struct

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses 'input' into a AccountId

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input

func (*AccountId) FromParseResult

func (id *AccountId) FromParseResult(input resourceids.ParseResult) error

func (AccountId) ID

func (id AccountId) ID() string

ID returns the formatted Account ID

func (AccountId) Segments

func (id AccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Account ID

func (AccountId) String

func (id AccountId) String() string

String returns a human-readable description of this Account ID

type AddDataLakeStoreParameters

type AddDataLakeStoreParameters struct {
	Properties *AddDataLakeStoreProperties `json:"properties,omitempty"`
}

type AddDataLakeStoreProperties

type AddDataLakeStoreProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type AddOperationResponse

type AddOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DataLakeStoreAccountId

type DataLakeStoreAccountId struct {
	SubscriptionId           string
	ResourceGroupName        string
	AccountName              string
	DataLakeStoreAccountName string
}

DataLakeStoreAccountId is a struct representing the Resource ID for a Data Lake Store Account

func NewDataLakeStoreAccountID

func NewDataLakeStoreAccountID(subscriptionId string, resourceGroupName string, accountName string, dataLakeStoreAccountName string) DataLakeStoreAccountId

NewDataLakeStoreAccountID returns a new DataLakeStoreAccountId struct

func ParseDataLakeStoreAccountID

func ParseDataLakeStoreAccountID(input string) (*DataLakeStoreAccountId, error)

ParseDataLakeStoreAccountID parses 'input' into a DataLakeStoreAccountId

func ParseDataLakeStoreAccountIDInsensitively

func ParseDataLakeStoreAccountIDInsensitively(input string) (*DataLakeStoreAccountId, error)

ParseDataLakeStoreAccountIDInsensitively parses 'input' case-insensitively into a DataLakeStoreAccountId note: this method should only be used for API response data and not user input

func (*DataLakeStoreAccountId) FromParseResult

func (id *DataLakeStoreAccountId) FromParseResult(input resourceids.ParseResult) error

func (DataLakeStoreAccountId) ID

ID returns the formatted Data Lake Store Account ID

func (DataLakeStoreAccountId) Segments

func (id DataLakeStoreAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Data Lake Store Account ID

func (DataLakeStoreAccountId) String

func (id DataLakeStoreAccountId) String() string

String returns a human-readable description of this Data Lake Store Account ID

type DataLakeStoreAccountInformation

type DataLakeStoreAccountInformation struct {
	Id         *string                                    `json:"id,omitempty"`
	Name       *string                                    `json:"name,omitempty"`
	Properties *DataLakeStoreAccountInformationProperties `json:"properties,omitempty"`
	Type       *string                                    `json:"type,omitempty"`
}

type DataLakeStoreAccountInformationOperationPredicate

type DataLakeStoreAccountInformationOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DataLakeStoreAccountInformationOperationPredicate) Matches

type DataLakeStoreAccountInformationProperties

type DataLakeStoreAccountInformationProperties struct {
	Suffix *string `json:"suffix,omitempty"`
}

type DataLakeStoreAccountsClient

type DataLakeStoreAccountsClient struct {
	Client *resourcemanager.Client
}

func NewDataLakeStoreAccountsClientWithBaseURI

func NewDataLakeStoreAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*DataLakeStoreAccountsClient, error)

func (DataLakeStoreAccountsClient) Add

Add ...

func (DataLakeStoreAccountsClient) Delete

Delete ...

func (DataLakeStoreAccountsClient) Get

Get ...

func (DataLakeStoreAccountsClient) ListByAccount

ListByAccount ...

func (DataLakeStoreAccountsClient) ListByAccountComplete

ListByAccountComplete retrieves all the results into a single object

func (DataLakeStoreAccountsClient) ListByAccountCompleteMatchingPredicate

ListByAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

type DeleteOperationResponse

type DeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DataLakeStoreAccountInformation
}

type ListByAccountCompleteResult

type ListByAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []DataLakeStoreAccountInformation
}

type ListByAccountCustomPager added in v0.20240628.1153531

type ListByAccountCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByAccountCustomPager) NextPageLink() *odata.Link

type ListByAccountOperationOptions

type ListByAccountOperationOptions struct {
	Count   *bool
	Filter  *string
	Orderby *string
	Select  *string
	Skip    *int64
	Top     *int64
}

func DefaultListByAccountOperationOptions

func DefaultListByAccountOperationOptions() ListByAccountOperationOptions

func (ListByAccountOperationOptions) ToHeaders

func (ListByAccountOperationOptions) ToOData

func (ListByAccountOperationOptions) ToQuery

type ListByAccountOperationResponse

type ListByAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]DataLakeStoreAccountInformation
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL