tableservice

package
v0.20220622.1090000 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateStorageAccountID

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

ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID

func ValidateTableID

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

ValidateTableID checks that 'input' can be parsed as a Table ID

Types

type StorageAccountId

type StorageAccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

StorageAccountId is a struct representing the Resource ID for a Storage Account

func NewStorageAccountID

func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName string) StorageAccountId

NewStorageAccountID returns a new StorageAccountId struct

func ParseStorageAccountID

func ParseStorageAccountID(input string) (*StorageAccountId, error)

ParseStorageAccountID parses 'input' into a StorageAccountId

func ParseStorageAccountIDInsensitively

func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)

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

func (StorageAccountId) ID

func (id StorageAccountId) ID() string

ID returns the formatted Storage Account ID

func (StorageAccountId) Segments

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

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

func (StorageAccountId) String

func (id StorageAccountId) String() string

String returns a human-readable description of this Storage Account ID

type Table

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

type TableCreateOperationResponse

type TableCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Table
}

type TableDeleteOperationResponse

type TableDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type TableGetOperationResponse

type TableGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Table
}

type TableId

type TableId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	TableName         string
}

TableId is a struct representing the Resource ID for a Table

func NewTableID

func NewTableID(subscriptionId string, resourceGroupName string, accountName string, tableName string) TableId

NewTableID returns a new TableId struct

func ParseTableID

func ParseTableID(input string) (*TableId, error)

ParseTableID parses 'input' into a TableId

func ParseTableIDInsensitively

func ParseTableIDInsensitively(input string) (*TableId, error)

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

func (TableId) ID

func (id TableId) ID() string

ID returns the formatted Table ID

func (TableId) Segments

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

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

func (TableId) String

func (id TableId) String() string

String returns a human-readable description of this Table ID

type TableListCompleteResult

type TableListCompleteResult struct {
	Items []Table
}

type TableListOperationResponse

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

func (TableListOperationResponse) HasMore

func (r TableListOperationResponse) HasMore() bool

func (TableListOperationResponse) LoadMore

type TableOperationPredicate

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

func (TableOperationPredicate) Matches

func (p TableOperationPredicate) Matches(input Table) bool

type TableProperties

type TableProperties struct {
	TableName *string `json:"tableName,omitempty"`
}

type TableServiceClient

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

func NewTableServiceClientWithBaseURI

func NewTableServiceClientWithBaseURI(endpoint string) TableServiceClient

func (TableServiceClient) TableCreate

func (c TableServiceClient) TableCreate(ctx context.Context, id TableId) (result TableCreateOperationResponse, err error)

TableCreate ...

func (TableServiceClient) TableDelete

func (c TableServiceClient) TableDelete(ctx context.Context, id TableId) (result TableDeleteOperationResponse, err error)

TableDelete ...

func (TableServiceClient) TableGet

func (c TableServiceClient) TableGet(ctx context.Context, id TableId) (result TableGetOperationResponse, err error)

TableGet ...

func (TableServiceClient) TableList

TableList ...

func (TableServiceClient) TableListComplete

TableListComplete retrieves all of the results into a single object

func (TableServiceClient) TableListCompleteMatchingPredicate

func (c TableServiceClient) TableListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, predicate TableOperationPredicate) (resp TableListCompleteResult, err error)

TableListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (TableServiceClient) TableUpdate

func (c TableServiceClient) TableUpdate(ctx context.Context, id TableId) (result TableUpdateOperationResponse, err error)

TableUpdate ...

type TableUpdateOperationResponse

type TableUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Table
}

Jump to

Keyboard shortcuts

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