cognitiveservicesaccounts

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCreatedByType

func PossibleValuesForCreatedByType() []string

func PossibleValuesForKeyName

func PossibleValuesForKeyName() []string

func PossibleValuesForKeySource

func PossibleValuesForKeySource() []string

func PossibleValuesForNetworkRuleAction

func PossibleValuesForNetworkRuleAction() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateEndpointServiceConnectionStatus

func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func PossibleValuesForQuotaUsageStatus

func PossibleValuesForQuotaUsageStatus() []string

func PossibleValuesForResourceSkuRestrictionsReasonCode

func PossibleValuesForResourceSkuRestrictionsReasonCode() []string

func PossibleValuesForResourceSkuRestrictionsType

func PossibleValuesForResourceSkuRestrictionsType() []string

func PossibleValuesForSkuTier

func PossibleValuesForSkuTier() []string

func PossibleValuesForUnitType

func PossibleValuesForUnitType() []string

func ValidateAccountID

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

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

func ValidateDeletedAccountID

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

ValidateDeletedAccountID checks that 'input' can be parsed as a Deleted Account ID

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateResourceGroupID

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

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateSubscriptionID

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

ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID

Types

type Account

type Account struct {
	Etag       *string                                 `json:"etag,omitempty"`
	Id         *string                                 `json:"id,omitempty"`
	Identity   *identity.SystemUserAssignedIdentityMap `json:"identity,omitempty"`
	Kind       *string                                 `json:"kind,omitempty"`
	Location   *string                                 `json:"location,omitempty"`
	Name       *string                                 `json:"name,omitempty"`
	Properties *AccountProperties                      `json:"properties,omitempty"`
	Sku        *Sku                                    `json:"sku,omitempty"`
	SystemData *SystemData                             `json:"systemData,omitempty"`
	Tags       *map[string]string                      `json:"tags,omitempty"`
	Type       *string                                 `json:"type,omitempty"`
}

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 AccountPredicate

type AccountPredicate struct {
	Etag     *string
	Id       *string
	Kind     *string
	Location *string
	Name     *string
	Type     *string
}

func (AccountPredicate) Matches

func (p AccountPredicate) Matches(input Account) bool

type AccountProperties

type AccountProperties struct {
	AllowedFqdnList               *[]string                    `json:"allowedFqdnList,omitempty"`
	ApiProperties                 *ApiProperties               `json:"apiProperties,omitempty"`
	CallRateLimit                 *CallRateLimit               `json:"callRateLimit,omitempty"`
	Capabilities                  *[]SkuCapability             `json:"capabilities,omitempty"`
	CustomSubDomainName           *string                      `json:"customSubDomainName,omitempty"`
	DateCreated                   *string                      `json:"dateCreated,omitempty"`
	DisableLocalAuth              *bool                        `json:"disableLocalAuth,omitempty"`
	Encryption                    *Encryption                  `json:"encryption,omitempty"`
	Endpoint                      *string                      `json:"endpoint,omitempty"`
	Endpoints                     *map[string]string           `json:"endpoints,omitempty"`
	InternalId                    *string                      `json:"internalId,omitempty"`
	IsMigrated                    *bool                        `json:"isMigrated,omitempty"`
	MigrationToken                *string                      `json:"migrationToken,omitempty"`
	NetworkAcls                   *NetworkRuleSet              `json:"networkAcls,omitempty"`
	PrivateEndpointConnections    *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	ProvisioningState             *ProvisioningState           `json:"provisioningState,omitempty"`
	PublicNetworkAccess           *PublicNetworkAccess         `json:"publicNetworkAccess,omitempty"`
	QuotaLimit                    *QuotaLimit                  `json:"quotaLimit,omitempty"`
	Restore                       *bool                        `json:"restore,omitempty"`
	RestrictOutboundNetworkAccess *bool                        `json:"restrictOutboundNetworkAccess,omitempty"`
	SkuChangeInfo                 *SkuChangeInfo               `json:"skuChangeInfo,omitempty"`
	UserOwnedStorage              *[]UserOwnedStorage          `json:"userOwnedStorage,omitempty"`
}

type AccountSku

type AccountSku struct {
	ResourceType *string `json:"resourceType,omitempty"`
	Sku          *Sku    `json:"sku,omitempty"`
}

type AccountSkuListResult

type AccountSkuListResult struct {
	Value *[]AccountSku `json:"value,omitempty"`
}

type AccountsCreateResponse

type AccountsCreateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type AccountsDeleteResponse

type AccountsDeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type AccountsGetResponse

type AccountsGetResponse struct {
	HttpResponse *http.Response
	Model        *Account
}

type AccountsListByResourceGroupCompleteResult

type AccountsListByResourceGroupCompleteResult struct {
	Items []Account
}

type AccountsListByResourceGroupResponse

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

func (AccountsListByResourceGroupResponse) HasMore

func (AccountsListByResourceGroupResponse) LoadMore

type AccountsListCompleteResult

type AccountsListCompleteResult struct {
	Items []Account
}

type AccountsListKeysResponse

type AccountsListKeysResponse struct {
	HttpResponse *http.Response
	Model        *ApiKeys
}

type AccountsListResponse

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

func (AccountsListResponse) HasMore

func (r AccountsListResponse) HasMore() bool

func (AccountsListResponse) LoadMore

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

type AccountsListSkusResponse

type AccountsListSkusResponse struct {
	HttpResponse *http.Response
	Model        *AccountSkuListResult
}

type AccountsListUsagesOptions

type AccountsListUsagesOptions struct {
	Filter *string
}

func DefaultAccountsListUsagesOptions

func DefaultAccountsListUsagesOptions() AccountsListUsagesOptions

type AccountsListUsagesResponse

type AccountsListUsagesResponse struct {
	HttpResponse *http.Response
	Model        *UsageListResult
}

type AccountsRegenerateKeyResponse

type AccountsRegenerateKeyResponse struct {
	HttpResponse *http.Response
	Model        *ApiKeys
}

type AccountsUpdateResponse

type AccountsUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ApiKeys

type ApiKeys struct {
	Key1 *string `json:"key1,omitempty"`
	Key2 *string `json:"key2,omitempty"`
}

type ApiProperties

type ApiProperties struct {
	AadClientId                    *string `json:"aadClientId,omitempty"`
	AadTenantId                    *string `json:"aadTenantId,omitempty"`
	EventHubConnectionString       *string `json:"eventHubConnectionString,omitempty"`
	QnaAzureSearchEndpointId       *string `json:"qnaAzureSearchEndpointId,omitempty"`
	QnaAzureSearchEndpointKey      *string `json:"qnaAzureSearchEndpointKey,omitempty"`
	QnaRuntimeEndpoint             *string `json:"qnaRuntimeEndpoint,omitempty"`
	StatisticsEnabled              *bool   `json:"statisticsEnabled,omitempty"`
	StorageAccountConnectionString *string `json:"storageAccountConnectionString,omitempty"`
	SuperUser                      *string `json:"superUser,omitempty"`
	WebsiteName                    *string `json:"websiteName,omitempty"`
}

type CallRateLimit

type CallRateLimit struct {
	Count         *float64          `json:"count,omitempty"`
	RenewalPeriod *float64          `json:"renewalPeriod,omitempty"`
	Rules         *[]ThrottlingRule `json:"rules,omitempty"`
}

type CheckDomainAvailabilityParameter

type CheckDomainAvailabilityParameter struct {
	SubdomainName string `json:"subdomainName"`
	Type          string `json:"type"`
}

type CheckDomainAvailabilityResponse

type CheckDomainAvailabilityResponse struct {
	HttpResponse *http.Response
	Model        *DomainAvailability
}

type CheckSkuAvailabilityParameter

type CheckSkuAvailabilityParameter struct {
	Kind string   `json:"kind"`
	Skus []string `json:"skus"`
	Type string   `json:"type"`
}

type CheckSkuAvailabilityResponse

type CheckSkuAvailabilityResponse struct {
	HttpResponse *http.Response
	Model        *SkuAvailabilityListResult
}

type CognitiveServicesAccountsClient

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

func NewCognitiveServicesAccountsClientWithBaseURI

func NewCognitiveServicesAccountsClientWithBaseURI(endpoint string) CognitiveServicesAccountsClient

func (CognitiveServicesAccountsClient) AccountsCreate

func (c CognitiveServicesAccountsClient) AccountsCreate(ctx context.Context, id AccountId, input Account) (result AccountsCreateResponse, err error)

AccountsCreate ...

func (CognitiveServicesAccountsClient) AccountsCreateThenPoll

func (c CognitiveServicesAccountsClient) AccountsCreateThenPoll(ctx context.Context, id AccountId, input Account) error

AccountsCreateThenPoll performs AccountsCreate then polls until it's completed

func (CognitiveServicesAccountsClient) AccountsDelete

func (c CognitiveServicesAccountsClient) AccountsDelete(ctx context.Context, id AccountId) (result AccountsDeleteResponse, err error)

AccountsDelete ...

func (CognitiveServicesAccountsClient) AccountsDeleteThenPoll

func (c CognitiveServicesAccountsClient) AccountsDeleteThenPoll(ctx context.Context, id AccountId) error

AccountsDeleteThenPoll performs AccountsDelete then polls until it's completed

func (CognitiveServicesAccountsClient) AccountsGet

AccountsGet ...

func (CognitiveServicesAccountsClient) AccountsList

AccountsList ...

func (CognitiveServicesAccountsClient) AccountsListByResourceGroup

AccountsListByResourceGroup ...

func (CognitiveServicesAccountsClient) AccountsListByResourceGroupComplete

AccountsListByResourceGroupComplete retrieves all of the results into a single object

func (CognitiveServicesAccountsClient) AccountsListByResourceGroupCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate AccountPredicate) (resp AccountsListByResourceGroupCompleteResult, err error)

AccountsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (CognitiveServicesAccountsClient) AccountsListComplete

AccountsListComplete retrieves all of the results into a single object

func (CognitiveServicesAccountsClient) AccountsListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate AccountPredicate) (resp AccountsListCompleteResult, err error)

AccountsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (CognitiveServicesAccountsClient) AccountsListKeys

func (c CognitiveServicesAccountsClient) AccountsListKeys(ctx context.Context, id AccountId) (result AccountsListKeysResponse, err error)

AccountsListKeys ...

func (CognitiveServicesAccountsClient) AccountsListSkus

func (c CognitiveServicesAccountsClient) AccountsListSkus(ctx context.Context, id AccountId) (result AccountsListSkusResponse, err error)

AccountsListSkus ...

func (CognitiveServicesAccountsClient) AccountsListUsages

AccountsListUsages ...

func (CognitiveServicesAccountsClient) AccountsRegenerateKey

AccountsRegenerateKey ...

func (CognitiveServicesAccountsClient) AccountsUpdate

func (c CognitiveServicesAccountsClient) AccountsUpdate(ctx context.Context, id AccountId, input Account) (result AccountsUpdateResponse, err error)

AccountsUpdate ...

func (CognitiveServicesAccountsClient) AccountsUpdateThenPoll

func (c CognitiveServicesAccountsClient) AccountsUpdateThenPoll(ctx context.Context, id AccountId, input Account) error

AccountsUpdateThenPoll performs AccountsUpdate then polls until it's completed

func (CognitiveServicesAccountsClient) CheckDomainAvailability

CheckDomainAvailability ...

func (CognitiveServicesAccountsClient) CheckSkuAvailability

CheckSkuAvailability ...

func (CognitiveServicesAccountsClient) DeletedAccountsGet

DeletedAccountsGet ...

func (CognitiveServicesAccountsClient) DeletedAccountsList

DeletedAccountsList ...

func (CognitiveServicesAccountsClient) DeletedAccountsListComplete

DeletedAccountsListComplete retrieves all of the results into a single object

func (CognitiveServicesAccountsClient) DeletedAccountsListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) DeletedAccountsListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate AccountPredicate) (resp DeletedAccountsListCompleteResult, err error)

DeletedAccountsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (CognitiveServicesAccountsClient) DeletedAccountsPurge

DeletedAccountsPurge ...

func (CognitiveServicesAccountsClient) DeletedAccountsPurgeThenPoll

func (c CognitiveServicesAccountsClient) DeletedAccountsPurgeThenPoll(ctx context.Context, id DeletedAccountId) error

DeletedAccountsPurgeThenPoll performs DeletedAccountsPurge then polls until it's completed

func (CognitiveServicesAccountsClient) ResourceSkusList

ResourceSkusList ...

func (CognitiveServicesAccountsClient) ResourceSkusListComplete

ResourceSkusListComplete retrieves all of the results into a single object

func (CognitiveServicesAccountsClient) ResourceSkusListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate ResourceSkuPredicate) (resp ResourceSkusListCompleteResult, err error)

ResourceSkusListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

type CreatedByType

type CreatedByType string
const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

type DeletedAccountId

type DeletedAccountId struct {
	SubscriptionId    string
	Location          string
	ResourceGroupName string
	AccountName       string
}

DeletedAccountId is a struct representing the Resource ID for a Deleted Account

func NewDeletedAccountID

func NewDeletedAccountID(subscriptionId string, location string, resourceGroupName string, accountName string) DeletedAccountId

NewDeletedAccountID returns a new DeletedAccountId struct

func ParseDeletedAccountID

func ParseDeletedAccountID(input string) (*DeletedAccountId, error)

ParseDeletedAccountID parses 'input' into a DeletedAccountId

func ParseDeletedAccountIDInsensitively

func ParseDeletedAccountIDInsensitively(input string) (*DeletedAccountId, error)

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

func (DeletedAccountId) ID

func (id DeletedAccountId) ID() string

ID returns the formatted Deleted Account ID

func (DeletedAccountId) Segments

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

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

func (DeletedAccountId) String

func (id DeletedAccountId) String() string

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

type DeletedAccountsGetResponse

type DeletedAccountsGetResponse struct {
	HttpResponse *http.Response
	Model        *Account
}

type DeletedAccountsListCompleteResult

type DeletedAccountsListCompleteResult struct {
	Items []Account
}

type DeletedAccountsListResponse

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

func (DeletedAccountsListResponse) HasMore

func (r DeletedAccountsListResponse) HasMore() bool

func (DeletedAccountsListResponse) LoadMore

type DeletedAccountsPurgeResponse

type DeletedAccountsPurgeResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DomainAvailability

type DomainAvailability struct {
	IsSubdomainAvailable *bool   `json:"isSubdomainAvailable,omitempty"`
	Reason               *string `json:"reason,omitempty"`
	SubdomainName        *string `json:"subdomainName,omitempty"`
	Type                 *string `json:"type,omitempty"`
}

type Encryption

type Encryption struct {
	KeySource          *KeySource          `json:"keySource,omitempty"`
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

type IpRule

type IpRule struct {
	Value string `json:"value"`
}

type KeyName

type KeyName string
const (
	KeyNameKeyOne KeyName = "Key1"
	KeyNameKeyTwo KeyName = "Key2"
)

type KeySource

type KeySource string
const (
	KeySourceMicrosoftPointCognitiveServices KeySource = "Microsoft.CognitiveServices"
	KeySourceMicrosoftPointKeyVault          KeySource = "Microsoft.KeyVault"
)

type KeyVaultProperties

type KeyVaultProperties struct {
	IdentityClientId *string `json:"identityClientId,omitempty"`
	KeyName          *string `json:"keyName,omitempty"`
	KeyVaultUri      *string `json:"keyVaultUri,omitempty"`
	KeyVersion       *string `json:"keyVersion,omitempty"`
}

type LocationId

type LocationId struct {
	SubscriptionId string
	Location       string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, location string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type MetricName

type MetricName struct {
	LocalizedValue *string `json:"localizedValue,omitempty"`
	Value          *string `json:"value,omitempty"`
}

type NetworkRuleAction

type NetworkRuleAction string
const (
	NetworkRuleActionAllow NetworkRuleAction = "Allow"
	NetworkRuleActionDeny  NetworkRuleAction = "Deny"
)

type NetworkRuleSet

type NetworkRuleSet struct {
	DefaultAction       *NetworkRuleAction    `json:"defaultAction,omitempty"`
	IpRules             *[]IpRule             `json:"ipRules,omitempty"`
	VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
}

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Etag       *string                              `json:"etag,omitempty"`
	Id         *string                              `json:"id,omitempty"`
	Location   *string                              `json:"location,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	SystemData *SystemData                          `json:"systemData,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	GroupIds                          *[]string                                   `json:"groupIds,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState           `json:"privateLinkServiceConnectionState"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string
const (
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusPending  PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                                 `json:"actionsRequired,omitempty"`
	Description     *string                                 `json:"description,omitempty"`
	Status          *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCreating     ProvisioningState = "Creating"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateMoving       ProvisioningState = "Moving"
	ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
)

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

type QuotaLimit

type QuotaLimit struct {
	Count         *float64          `json:"count,omitempty"`
	RenewalPeriod *float64          `json:"renewalPeriod,omitempty"`
	Rules         *[]ThrottlingRule `json:"rules,omitempty"`
}

type QuotaUsageStatus

type QuotaUsageStatus string
const (
	QuotaUsageStatusBlocked   QuotaUsageStatus = "Blocked"
	QuotaUsageStatusInOverage QuotaUsageStatus = "InOverage"
	QuotaUsageStatusIncluded  QuotaUsageStatus = "Included"
	QuotaUsageStatusUnknown   QuotaUsageStatus = "Unknown"
)

type RegenerateKeyParameters

type RegenerateKeyParameters struct {
	KeyName KeyName `json:"keyName"`
}

type RequestMatchPattern

type RequestMatchPattern struct {
	Method *string `json:"method,omitempty"`
	Path   *string `json:"path,omitempty"`
}

type ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

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

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

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

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

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type ResourceSku

type ResourceSku struct {
	Kind         *string                    `json:"kind,omitempty"`
	Locations    *[]string                  `json:"locations,omitempty"`
	Name         *string                    `json:"name,omitempty"`
	ResourceType *string                    `json:"resourceType,omitempty"`
	Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
	Tier         *string                    `json:"tier,omitempty"`
}

type ResourceSkuPredicate

type ResourceSkuPredicate struct {
	Kind         *string
	Name         *string
	ResourceType *string
	Tier         *string
}

func (ResourceSkuPredicate) Matches

func (p ResourceSkuPredicate) Matches(input ResourceSku) bool

type ResourceSkuRestrictionInfo

type ResourceSkuRestrictionInfo struct {
	Locations *[]string `json:"locations,omitempty"`
	Zones     *[]string `json:"zones,omitempty"`
}

type ResourceSkuRestrictions

type ResourceSkuRestrictions struct {
	ReasonCode      *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
	RestrictionInfo *ResourceSkuRestrictionInfo        `json:"restrictionInfo,omitempty"`
	Type            *ResourceSkuRestrictionsType       `json:"type,omitempty"`
	Values          *[]string                          `json:"values,omitempty"`
}

type ResourceSkuRestrictionsReasonCode

type ResourceSkuRestrictionsReasonCode string
const (
	ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
	ResourceSkuRestrictionsReasonCodeQuotaId                     ResourceSkuRestrictionsReasonCode = "QuotaId"
)

type ResourceSkuRestrictionsType

type ResourceSkuRestrictionsType string
const (
	ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location"
	ResourceSkuRestrictionsTypeZone     ResourceSkuRestrictionsType = "Zone"
)

type ResourceSkusListCompleteResult

type ResourceSkusListCompleteResult struct {
	Items []ResourceSku
}

type ResourceSkusListResponse

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

func (ResourceSkusListResponse) HasMore

func (r ResourceSkusListResponse) HasMore() bool

func (ResourceSkusListResponse) LoadMore

type Sku

type Sku struct {
	Capacity *int64   `json:"capacity,omitempty"`
	Family   *string  `json:"family,omitempty"`
	Name     string   `json:"name"`
	Size     *string  `json:"size,omitempty"`
	Tier     *SkuTier `json:"tier,omitempty"`
}

type SkuAvailability

type SkuAvailability struct {
	Kind         *string `json:"kind,omitempty"`
	Message      *string `json:"message,omitempty"`
	Reason       *string `json:"reason,omitempty"`
	SkuAvailable *bool   `json:"skuAvailable,omitempty"`
	SkuName      *string `json:"skuName,omitempty"`
	Type         *string `json:"type,omitempty"`
}

type SkuAvailabilityListResult

type SkuAvailabilityListResult struct {
	Value *[]SkuAvailability `json:"value,omitempty"`
}

type SkuCapability

type SkuCapability struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type SkuChangeInfo

type SkuChangeInfo struct {
	CountOfDowngrades              *float64 `json:"countOfDowngrades,omitempty"`
	CountOfUpgradesAfterDowngrades *float64 `json:"countOfUpgradesAfterDowngrades,omitempty"`
	LastChangeDate                 *string  `json:"lastChangeDate,omitempty"`
}

type SkuTier

type SkuTier string
const (
	SkuTierBasic      SkuTier = "Basic"
	SkuTierEnterprise SkuTier = "Enterprise"
	SkuTierFree       SkuTier = "Free"
	SkuTierPremium    SkuTier = "Premium"
	SkuTierStandard   SkuTier = "Standard"
)

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

SubscriptionId is a struct representing the Resource ID for a Subscription

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

NewSubscriptionID returns a new SubscriptionId struct

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses 'input' into a SubscriptionId

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

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

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

ID returns the formatted Subscription ID

func (SubscriptionId) Segments

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

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

func (SubscriptionId) String

func (id SubscriptionId) String() string

String returns a human-readable description of this Subscription ID

type SystemData

type SystemData struct {
	CreatedAt          *string        `json:"createdAt,omitempty"`
	CreatedBy          *string        `json:"createdBy,omitempty"`
	CreatedByType      *CreatedByType `json:"createdByType,omitempty"`
	LastModifiedAt     *string        `json:"lastModifiedAt,omitempty"`
	LastModifiedBy     *string        `json:"lastModifiedBy,omitempty"`
	LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"`
}

type ThrottlingRule

type ThrottlingRule struct {
	Count                    *float64               `json:"count,omitempty"`
	DynamicThrottlingEnabled *bool                  `json:"dynamicThrottlingEnabled,omitempty"`
	Key                      *string                `json:"key,omitempty"`
	MatchPatterns            *[]RequestMatchPattern `json:"matchPatterns,omitempty"`
	MinCount                 *float64               `json:"minCount,omitempty"`
	RenewalPeriod            *float64               `json:"renewalPeriod,omitempty"`
}

type UnitType

type UnitType string
const (
	UnitTypeBytes          UnitType = "Bytes"
	UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
	UnitTypeCount          UnitType = "Count"
	UnitTypeCountPerSecond UnitType = "CountPerSecond"
	UnitTypeMilliseconds   UnitType = "Milliseconds"
	UnitTypePercent        UnitType = "Percent"
	UnitTypeSeconds        UnitType = "Seconds"
)

type Usage

type Usage struct {
	CurrentValue  *float64          `json:"currentValue,omitempty"`
	Limit         *float64          `json:"limit,omitempty"`
	Name          *MetricName       `json:"name,omitempty"`
	NextResetTime *string           `json:"nextResetTime,omitempty"`
	QuotaPeriod   *string           `json:"quotaPeriod,omitempty"`
	Status        *QuotaUsageStatus `json:"status,omitempty"`
	Unit          *UnitType         `json:"unit,omitempty"`
}

type UsageListResult

type UsageListResult struct {
	Value *[]Usage `json:"value,omitempty"`
}

type UserOwnedStorage

type UserOwnedStorage struct {
	IdentityClientId *string `json:"identityClientId,omitempty"`
	ResourceId       *string `json:"resourceId,omitempty"`
}

type VirtualNetworkRule

type VirtualNetworkRule struct {
	Id                               string  `json:"id"`
	IgnoreMissingVnetServiceEndpoint *bool   `json:"ignoreMissingVnetServiceEndpoint,omitempty"`
	State                            *string `json:"state,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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