cognitiveservicesaccounts

package
v0.20241004.1180715 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MPL-2.0 Imports: 18 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/cognitive/2024-10-01/cognitiveservicesaccounts Documentation

The cognitiveservicesaccounts SDK allows for interaction with Azure Resource Manager cognitive (API Version 2024-10-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/cognitive/2024-10-01/cognitiveservicesaccounts"

Client Initialization

client := cognitiveservicesaccounts.NewCognitiveServicesAccountsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: CognitiveServicesAccountsClient.AccountsCreate

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

payload := cognitiveservicesaccounts.Account{
	// ...
}


if err := client.AccountsCreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: CognitiveServicesAccountsClient.AccountsDelete

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

if err := client.AccountsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: CognitiveServicesAccountsClient.AccountsGet

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: CognitiveServicesAccountsClient.AccountsListByResourceGroup

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsListKeys

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsListModels

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsListSkus

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsListUsages

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

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

Example Usage: CognitiveServicesAccountsClient.AccountsRegenerateKey

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

payload := cognitiveservicesaccounts.RegenerateKeyParameters{
	// ...
}


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

Example Usage: CognitiveServicesAccountsClient.AccountsUpdate

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

payload := cognitiveservicesaccounts.Account{
	// ...
}


if err := client.AccountsUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: CognitiveServicesAccountsClient.CalculateModelCapacity

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := cognitiveservicesaccounts.CalculateModelCapacityParameter{
	// ...
}


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

Example Usage: CognitiveServicesAccountsClient.CheckDomainAvailability

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

payload := cognitiveservicesaccounts.CheckDomainAvailabilityParameter{
	// ...
}


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

Example Usage: CognitiveServicesAccountsClient.CheckSkuAvailability

ctx := context.TODO()
id := cognitiveservicesaccounts.NewLocationID("12345678-1234-9876-4563-123456789012", "location")

payload := cognitiveservicesaccounts.CheckSkuAvailabilityParameter{
	// ...
}


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

Example Usage: CognitiveServicesAccountsClient.DeletedAccountsGet

ctx := context.TODO()
id := cognitiveservicesaccounts.NewDeletedAccountID("12345678-1234-9876-4563-123456789012", "location", "example-resource-group", "accountName")

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

Example Usage: CognitiveServicesAccountsClient.DeletedAccountsList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

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

Example Usage: CognitiveServicesAccountsClient.DeletedAccountsPurge

ctx := context.TODO()
id := cognitiveservicesaccounts.NewDeletedAccountID("12345678-1234-9876-4563-123456789012", "location", "example-resource-group", "accountName")

if err := client.DeletedAccountsPurgeThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: CognitiveServicesAccountsClient.ResourceSkusList

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ResourceSkusList(ctx, id)` can be used to do batched pagination
items, err := client.ResourceSkusListComplete(ctx, id)
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 PossibleValuesForAbusePenaltyAction

func PossibleValuesForAbusePenaltyAction() []string

func PossibleValuesForByPassSelection

func PossibleValuesForByPassSelection() []string

func PossibleValuesForKeyName

func PossibleValuesForKeyName() []string

func PossibleValuesForKeySource

func PossibleValuesForKeySource() []string

func PossibleValuesForModelLifecycleStatus

func PossibleValuesForModelLifecycleStatus() []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 PossibleValuesForRoutingMethods

func PossibleValuesForRoutingMethods() []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

Types

type AbusePenalty

type AbusePenalty struct {
	Action              *AbusePenaltyAction `json:"action,omitempty"`
	Expiration          *string             `json:"expiration,omitempty"`
	RateLimitPercentage *float64            `json:"rateLimitPercentage,omitempty"`
}

func (*AbusePenalty) GetExpirationAsTime

func (o *AbusePenalty) GetExpirationAsTime() (*time.Time, error)

func (*AbusePenalty) SetExpirationAsTime

func (o *AbusePenalty) SetExpirationAsTime(input time.Time)

type AbusePenaltyAction

type AbusePenaltyAction string
const (
	AbusePenaltyActionBlock    AbusePenaltyAction = "Block"
	AbusePenaltyActionThrottle AbusePenaltyAction = "Throttle"
)

func (*AbusePenaltyAction) UnmarshalJSON

func (s *AbusePenaltyAction) UnmarshalJSON(bytes []byte) error

type Account

type Account struct {
	Etag       *string                            `json:"etag,omitempty"`
	Id         *string                            `json:"id,omitempty"`
	Identity   *identity.SystemAndUserAssignedMap `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.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) 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 AccountModel

type AccountModel struct {
	BaseModel            *DeploymentModel       `json:"baseModel,omitempty"`
	CallRateLimit        *CallRateLimit         `json:"callRateLimit,omitempty"`
	Capabilities         *map[string]string     `json:"capabilities,omitempty"`
	Deprecation          *ModelDeprecationInfo  `json:"deprecation,omitempty"`
	FinetuneCapabilities *map[string]string     `json:"finetuneCapabilities,omitempty"`
	Format               *string                `json:"format,omitempty"`
	IsDefaultVersion     *bool                  `json:"isDefaultVersion,omitempty"`
	LifecycleStatus      *ModelLifecycleStatus  `json:"lifecycleStatus,omitempty"`
	MaxCapacity          *int64                 `json:"maxCapacity,omitempty"`
	Name                 *string                `json:"name,omitempty"`
	Publisher            *string                `json:"publisher,omitempty"`
	Skus                 *[]ModelSku            `json:"skus,omitempty"`
	Source               *string                `json:"source,omitempty"`
	SourceAccount        *string                `json:"sourceAccount,omitempty"`
	SystemData           *systemdata.SystemData `json:"systemData,omitempty"`
	Version              *string                `json:"version,omitempty"`
}

type AccountModelOperationPredicate

type AccountModelOperationPredicate struct {
	Format           *string
	IsDefaultVersion *bool
	MaxCapacity      *int64
	Name             *string
	Publisher        *string
	Source           *string
	SourceAccount    *string
	Version          *string
}

func (AccountModelOperationPredicate) Matches

type AccountOperationPredicate

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

func (AccountOperationPredicate) Matches

func (p AccountOperationPredicate) Matches(input Account) bool

type AccountProperties

type AccountProperties struct {
	AbusePenalty                  *AbusePenalty                `json:"abusePenalty,omitempty"`
	AllowedFqdnList               *[]string                    `json:"allowedFqdnList,omitempty"`
	AmlWorkspace                  *UserOwnedAmlWorkspace       `json:"amlWorkspace,omitempty"`
	ApiProperties                 *ApiProperties               `json:"apiProperties,omitempty"`
	CallRateLimit                 *CallRateLimit               `json:"callRateLimit,omitempty"`
	Capabilities                  *[]SkuCapability             `json:"capabilities,omitempty"`
	CommitmentPlanAssociations    *[]CommitmentPlanAssociation `json:"commitmentPlanAssociations,omitempty"`
	CustomSubDomainName           *string                      `json:"customSubDomainName,omitempty"`
	DateCreated                   *string                      `json:"dateCreated,omitempty"`
	DeletionDate                  *string                      `json:"deletionDate,omitempty"`
	DisableLocalAuth              *bool                        `json:"disableLocalAuth,omitempty"`
	DynamicThrottlingEnabled      *bool                        `json:"dynamicThrottlingEnabled,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"`
	Locations                     *MultiRegionSettings         `json:"locations,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"`
	RaiMonitorConfig              *RaiMonitorConfig            `json:"raiMonitorConfig,omitempty"`
	Restore                       *bool                        `json:"restore,omitempty"`
	RestrictOutboundNetworkAccess *bool                        `json:"restrictOutboundNetworkAccess,omitempty"`
	ScheduledPurgeDate            *string                      `json:"scheduledPurgeDate,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 AccountsCreateOperationResponse

type AccountsCreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Account
}

type AccountsDeleteOperationResponse

type AccountsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type AccountsGetOperationResponse

type AccountsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Account
}

type AccountsListByResourceGroupCompleteResult

type AccountsListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Account
}

type AccountsListByResourceGroupCustomPager

type AccountsListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type AccountsListByResourceGroupOperationResponse

type AccountsListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Account
}

type AccountsListCompleteResult

type AccountsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Account
}

type AccountsListCustomPager

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

type AccountsListKeysOperationResponse

type AccountsListKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApiKeys
}

type AccountsListModelsCompleteResult

type AccountsListModelsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AccountModel
}

type AccountsListModelsCustomPager

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

type AccountsListModelsOperationResponse

type AccountsListModelsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AccountModel
}

type AccountsListOperationResponse

type AccountsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Account
}

type AccountsListSkusOperationResponse

type AccountsListSkusOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AccountSkuListResult
}

type AccountsListUsagesCompleteResult

type AccountsListUsagesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Usage
}

type AccountsListUsagesCustomPager

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

type AccountsListUsagesOperationOptions

type AccountsListUsagesOperationOptions struct {
	Filter *string
}

func DefaultAccountsListUsagesOperationOptions

func DefaultAccountsListUsagesOperationOptions() AccountsListUsagesOperationOptions

func (AccountsListUsagesOperationOptions) ToHeaders

func (AccountsListUsagesOperationOptions) ToOData

func (AccountsListUsagesOperationOptions) ToQuery

type AccountsListUsagesOperationResponse

type AccountsListUsagesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Usage
}

type AccountsRegenerateKeyOperationResponse

type AccountsRegenerateKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ApiKeys
}

type AccountsUpdateOperationResponse

type AccountsUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Account
}

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 BillingMeterInfo

type BillingMeterInfo struct {
	MeterId *string `json:"meterId,omitempty"`
	Name    *string `json:"name,omitempty"`
	Unit    *string `json:"unit,omitempty"`
}

type ByPassSelection

type ByPassSelection string
const (
	ByPassSelectionAzureServices ByPassSelection = "AzureServices"
	ByPassSelectionNone          ByPassSelection = "None"
)

func (*ByPassSelection) UnmarshalJSON

func (s *ByPassSelection) UnmarshalJSON(bytes []byte) error

type CalculateModelCapacityOperationResponse

type CalculateModelCapacityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CalculateModelCapacityResult
}

type CalculateModelCapacityParameter

type CalculateModelCapacityParameter struct {
	Model     *DeploymentModel                   `json:"model,omitempty"`
	SkuName   *string                            `json:"skuName,omitempty"`
	Workloads *[]ModelCapacityCalculatorWorkload `json:"workloads,omitempty"`
}

type CalculateModelCapacityResult

type CalculateModelCapacityResult struct {
	EstimatedCapacity *CalculateModelCapacityResultEstimatedCapacity `json:"estimatedCapacity,omitempty"`
	Model             *DeploymentModel                               `json:"model,omitempty"`
	SkuName           *string                                        `json:"skuName,omitempty"`
}

type CalculateModelCapacityResultEstimatedCapacity

type CalculateModelCapacityResultEstimatedCapacity struct {
	DeployableValue *int64 `json:"deployableValue,omitempty"`
	Value           *int64 `json:"value,omitempty"`
}

type CallRateLimit

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

type CapacityConfig

type CapacityConfig struct {
	AllowedValues *[]int64 `json:"allowedValues,omitempty"`
	Default       *int64   `json:"default,omitempty"`
	Maximum       *int64   `json:"maximum,omitempty"`
	Minimum       *int64   `json:"minimum,omitempty"`
	Step          *int64   `json:"step,omitempty"`
}

type CheckDomainAvailabilityOperationResponse

type CheckDomainAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *DomainAvailability
}

type CheckDomainAvailabilityParameter

type CheckDomainAvailabilityParameter struct {
	Kind          *string `json:"kind,omitempty"`
	SubdomainName string  `json:"subdomainName"`
	Type          string  `json:"type"`
}

type CheckSkuAvailabilityOperationResponse

type CheckSkuAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SkuAvailabilityListResult
}

type CheckSkuAvailabilityParameter

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

type CognitiveServicesAccountsClient

type CognitiveServicesAccountsClient struct {
	Client *resourcemanager.Client
}

func NewCognitiveServicesAccountsClientWithBaseURI

func NewCognitiveServicesAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*CognitiveServicesAccountsClient, error)

func (CognitiveServicesAccountsClient) AccountsCreate

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

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 the results into a single object

func (CognitiveServicesAccountsClient) AccountsListByResourceGroupCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (result AccountsListByResourceGroupCompleteResult, err error)

AccountsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CognitiveServicesAccountsClient) AccountsListComplete

AccountsListComplete retrieves all the results into a single object

func (CognitiveServicesAccountsClient) AccountsListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result AccountsListCompleteResult, err error)

AccountsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CognitiveServicesAccountsClient) AccountsListKeys

AccountsListKeys ...

func (CognitiveServicesAccountsClient) AccountsListModels

AccountsListModels ...

func (CognitiveServicesAccountsClient) AccountsListModelsComplete

AccountsListModelsComplete retrieves all the results into a single object

func (CognitiveServicesAccountsClient) AccountsListModelsCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListModelsCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate AccountModelOperationPredicate) (result AccountsListModelsCompleteResult, err error)

AccountsListModelsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CognitiveServicesAccountsClient) AccountsListSkus

AccountsListSkus ...

func (CognitiveServicesAccountsClient) AccountsListUsages

AccountsListUsages ...

func (CognitiveServicesAccountsClient) AccountsListUsagesComplete

AccountsListUsagesComplete retrieves all the results into a single object

func (CognitiveServicesAccountsClient) AccountsListUsagesCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) AccountsListUsagesCompleteMatchingPredicate(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions, predicate UsageOperationPredicate) (result AccountsListUsagesCompleteResult, err error)

AccountsListUsagesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CognitiveServicesAccountsClient) AccountsRegenerateKey

AccountsRegenerateKey ...

func (CognitiveServicesAccountsClient) AccountsUpdate

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) CalculateModelCapacity

CalculateModelCapacity ...

func (CognitiveServicesAccountsClient) CheckDomainAvailability

CheckDomainAvailability ...

func (CognitiveServicesAccountsClient) CheckSkuAvailability

CheckSkuAvailability ...

func (CognitiveServicesAccountsClient) DeletedAccountsGet

DeletedAccountsGet ...

func (CognitiveServicesAccountsClient) DeletedAccountsList

DeletedAccountsList ...

func (CognitiveServicesAccountsClient) DeletedAccountsListComplete

DeletedAccountsListComplete retrieves all the results into a single object

func (CognitiveServicesAccountsClient) DeletedAccountsListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) DeletedAccountsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result DeletedAccountsListCompleteResult, err error)

DeletedAccountsListCompleteMatchingPredicate retrieves all the results and then applies 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 the results into a single object

func (CognitiveServicesAccountsClient) ResourceSkusListCompleteMatchingPredicate

func (c CognitiveServicesAccountsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceSkuOperationPredicate) (result ResourceSkusListCompleteResult, err error)

ResourceSkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type CommitmentPlanAssociation

type CommitmentPlanAssociation struct {
	CommitmentPlanId       *string `json:"commitmentPlanId,omitempty"`
	CommitmentPlanLocation *string `json:"commitmentPlanLocation,omitempty"`
}

type DeletedAccountId

type DeletedAccountId struct {
	SubscriptionId     string
	LocationName       string
	ResourceGroupName  string
	DeletedAccountName string
}

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

func NewDeletedAccountID

func NewDeletedAccountID(subscriptionId string, locationName string, resourceGroupName string, deletedAccountName 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) FromParseResult

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

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 DeletedAccountsGetOperationResponse

type DeletedAccountsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Account
}

type DeletedAccountsListCompleteResult

type DeletedAccountsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Account
}

type DeletedAccountsListCustomPager

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

type DeletedAccountsListOperationResponse

type DeletedAccountsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Account
}

type DeletedAccountsPurgeOperationResponse

type DeletedAccountsPurgeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeploymentModel

type DeploymentModel struct {
	CallRateLimit *CallRateLimit `json:"callRateLimit,omitempty"`
	Format        *string        `json:"format,omitempty"`
	Name          *string        `json:"name,omitempty"`
	Publisher     *string        `json:"publisher,omitempty"`
	Source        *string        `json:"source,omitempty"`
	SourceAccount *string        `json:"sourceAccount,omitempty"`
	Version       *string        `json:"version,omitempty"`
}

type DomainAvailability

type DomainAvailability struct {
	IsSubdomainAvailable *bool   `json:"isSubdomainAvailable,omitempty"`
	Kind                 *string `json:"kind,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"
)

func (*KeyName) UnmarshalJSON

func (s *KeyName) UnmarshalJSON(bytes []byte) error

type KeySource

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

func (*KeySource) UnmarshalJSON

func (s *KeySource) UnmarshalJSON(bytes []byte) error

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
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName 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) FromParseResult

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

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 ModelCapacityCalculatorWorkload

type ModelCapacityCalculatorWorkload struct {
	RequestParameters *ModelCapacityCalculatorWorkloadRequestParam `json:"requestParameters,omitempty"`
	RequestPerMinute  *int64                                       `json:"requestPerMinute,omitempty"`
}

type ModelCapacityCalculatorWorkloadRequestParam

type ModelCapacityCalculatorWorkloadRequestParam struct {
	AvgGeneratedTokens *int64 `json:"avgGeneratedTokens,omitempty"`
	AvgPromptTokens    *int64 `json:"avgPromptTokens,omitempty"`
}

type ModelDeprecationInfo

type ModelDeprecationInfo struct {
	FineTune  *string `json:"fineTune,omitempty"`
	Inference *string `json:"inference,omitempty"`
}

type ModelLifecycleStatus

type ModelLifecycleStatus string
const (
	ModelLifecycleStatusDeprecated         ModelLifecycleStatus = "Deprecated"
	ModelLifecycleStatusDeprecating        ModelLifecycleStatus = "Deprecating"
	ModelLifecycleStatusGenerallyAvailable ModelLifecycleStatus = "GenerallyAvailable"
	ModelLifecycleStatusPreview            ModelLifecycleStatus = "Preview"
	ModelLifecycleStatusStable             ModelLifecycleStatus = "Stable"
)

func (*ModelLifecycleStatus) UnmarshalJSON

func (s *ModelLifecycleStatus) UnmarshalJSON(bytes []byte) error

type ModelSku

type ModelSku struct {
	Capacity        *CapacityConfig     `json:"capacity,omitempty"`
	Cost            *[]BillingMeterInfo `json:"cost,omitempty"`
	DeprecationDate *string             `json:"deprecationDate,omitempty"`
	Name            *string             `json:"name,omitempty"`
	RateLimits      *[]CallRateLimit    `json:"rateLimits,omitempty"`
	UsageName       *string             `json:"usageName,omitempty"`
}

func (*ModelSku) GetDeprecationDateAsTime

func (o *ModelSku) GetDeprecationDateAsTime() (*time.Time, error)

func (*ModelSku) SetDeprecationDateAsTime

func (o *ModelSku) SetDeprecationDateAsTime(input time.Time)

type MultiRegionSettings

type MultiRegionSettings struct {
	Regions       *[]RegionSetting `json:"regions,omitempty"`
	RoutingMethod *RoutingMethods  `json:"routingMethod,omitempty"`
}

type NetworkRuleAction

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

func (*NetworkRuleAction) UnmarshalJSON

func (s *NetworkRuleAction) UnmarshalJSON(bytes []byte) error

type NetworkRuleSet

type NetworkRuleSet struct {
	Bypass              *ByPassSelection      `json:"bypass,omitempty"`
	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.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"
)

func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON

func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error

type PrivateEndpointServiceConnectionStatus

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

func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON

func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error

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"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type PublicNetworkAccess

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

func (*PublicNetworkAccess) UnmarshalJSON

func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error

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"
)

func (*QuotaUsageStatus) UnmarshalJSON

func (s *QuotaUsageStatus) UnmarshalJSON(bytes []byte) error

type RaiMonitorConfig

type RaiMonitorConfig struct {
	AdxStorageResourceId *string `json:"adxStorageResourceId,omitempty"`
	IdentityClientId     *string `json:"identityClientId,omitempty"`
}

type RegenerateKeyParameters

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

type RegionSetting

type RegionSetting struct {
	Customsubdomain *string  `json:"customsubdomain,omitempty"`
	Name            *string  `json:"name,omitempty"`
	Value           *float64 `json:"value,omitempty"`
}

type RequestMatchPattern

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

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 ResourceSkuOperationPredicate

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

func (ResourceSkuOperationPredicate) Matches

type ResourceSkuRestrictionInfo

type ResourceSkuRestrictionInfo struct {
	Locations *[]string     `json:"locations,omitempty"`
	Zones     *zones.Schema `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"
)

func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON

func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error

type ResourceSkuRestrictionsType

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

func (*ResourceSkuRestrictionsType) UnmarshalJSON

func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error

type ResourceSkusListCompleteResult

type ResourceSkusListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ResourceSku
}

type ResourceSkusListCustomPager

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

type ResourceSkusListOperationResponse

type ResourceSkusListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ResourceSku
}

type RoutingMethods

type RoutingMethods string
const (
	RoutingMethodsPerformance RoutingMethods = "Performance"
	RoutingMethodsPriority    RoutingMethods = "Priority"
	RoutingMethodsWeighted    RoutingMethods = "Weighted"
)

func (*RoutingMethods) UnmarshalJSON

func (s *RoutingMethods) UnmarshalJSON(bytes []byte) error

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"
)

func (*SkuTier) UnmarshalJSON

func (s *SkuTier) UnmarshalJSON(bytes []byte) error

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"
)

func (*UnitType) UnmarshalJSON

func (s *UnitType) UnmarshalJSON(bytes []byte) error

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 UsageOperationPredicate

type UsageOperationPredicate struct {
	CurrentValue  *float64
	Limit         *float64
	NextResetTime *string
	QuotaPeriod   *string
}

func (UsageOperationPredicate) Matches

func (p UsageOperationPredicate) Matches(input Usage) bool

type UserOwnedAmlWorkspace

type UserOwnedAmlWorkspace struct {
	IdentityClientId *string `json:"identityClientId,omitempty"`
	ResourceId       *string `json:"resourceId,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