creators

package
v2.96.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

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 ValidateCreatorID

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

ValidateCreatorID checks that 'input' can be parsed as a Creator 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) 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 CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	HttpResponse *http.Response
	Model        *Creator
}

type Creator

type Creator struct {
	Id         *string            `json:"id,omitempty"`
	Location   string             `json:"location"`
	Name       *string            `json:"name,omitempty"`
	Properties CreatorProperties  `json:"properties"`
	Tags       *map[string]string `json:"tags,omitempty"`
	Type       *string            `json:"type,omitempty"`
}

type CreatorId

type CreatorId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	CreatorName       string
}

CreatorId is a struct representing the Resource ID for a Creator

func NewCreatorID

func NewCreatorID(subscriptionId string, resourceGroupName string, accountName string, creatorName string) CreatorId

NewCreatorID returns a new CreatorId struct

func ParseCreatorID

func ParseCreatorID(input string) (*CreatorId, error)

ParseCreatorID parses 'input' into a CreatorId

func ParseCreatorIDInsensitively

func ParseCreatorIDInsensitively(input string) (*CreatorId, error)

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

func (CreatorId) ID

func (id CreatorId) ID() string

ID returns the formatted Creator ID

func (CreatorId) Segments

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

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

func (CreatorId) String

func (id CreatorId) String() string

String returns a human-readable description of this Creator ID

type CreatorPredicate

type CreatorPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (CreatorPredicate) Matches

func (p CreatorPredicate) Matches(input Creator) bool

type CreatorProperties

type CreatorProperties struct {
	ProvisioningState *string `json:"provisioningState,omitempty"`
	StorageUnits      int64   `json:"storageUnits"`
}

type CreatorUpdateParameters

type CreatorUpdateParameters struct {
	Properties *CreatorProperties `json:"properties,omitempty"`
	Tags       *map[string]string `json:"tags,omitempty"`
}

type CreatorsClient

type CreatorsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewCreatorsClientWithBaseURI

func NewCreatorsClientWithBaseURI(endpoint string) CreatorsClient

func (CreatorsClient) CreateOrUpdate

func (c CreatorsClient) CreateOrUpdate(ctx context.Context, id CreatorId, input Creator) (result CreateOrUpdateResponse, err error)

CreateOrUpdate ...

func (CreatorsClient) Delete

func (c CreatorsClient) Delete(ctx context.Context, id CreatorId) (result DeleteResponse, err error)

Delete ...

func (CreatorsClient) Get

func (c CreatorsClient) Get(ctx context.Context, id CreatorId) (result GetResponse, err error)

Get ...

func (CreatorsClient) ListByAccount

func (c CreatorsClient) ListByAccount(ctx context.Context, id AccountId) (resp ListByAccountResponse, err error)

ListByAccount ...

func (CreatorsClient) ListByAccountComplete

func (c CreatorsClient) ListByAccountComplete(ctx context.Context, id AccountId) (ListByAccountCompleteResult, error)

ListByAccountComplete retrieves all of the results into a single object

func (CreatorsClient) ListByAccountCompleteMatchingPredicate

func (c CreatorsClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate CreatorPredicate) (resp ListByAccountCompleteResult, err error)

ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (CreatorsClient) Update

func (c CreatorsClient) Update(ctx context.Context, id CreatorId, input CreatorUpdateParameters) (result UpdateResponse, err error)

Update ...

type DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *Creator
}

type ListByAccountCompleteResult

type ListByAccountCompleteResult struct {
	Items []Creator
}

type ListByAccountResponse

type ListByAccountResponse struct {
	HttpResponse *http.Response
	Model        *[]Creator
	// contains filtered or unexported fields
}

func (ListByAccountResponse) HasMore

func (r ListByAccountResponse) HasMore() bool

func (ListByAccountResponse) LoadMore

func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error)

type UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
	Model        *Creator
}

Jump to

Keyboard shortcuts

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