Documentation ¶
Index ¶
- func PossibleValuesForAbusePenaltyAction() []string
- func PossibleValuesForKeyName() []string
- func PossibleValuesForKeySource() []string
- func PossibleValuesForModelLifecycleStatus() []string
- func PossibleValuesForNetworkRuleAction() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForQuotaUsageStatus() []string
- func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
- func PossibleValuesForResourceSkuRestrictionsType() []string
- func PossibleValuesForRoutingMethods() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForUnitType() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateDeletedAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AbusePenalty
- type AbusePenaltyAction
- type Account
- type AccountId
- type AccountModel
- type AccountModelOperationPredicate
- type AccountOperationPredicate
- type AccountProperties
- type AccountSku
- type AccountSkuListResult
- type AccountsCreateOperationResponse
- type AccountsDeleteOperationResponse
- type AccountsGetOperationResponse
- type AccountsListByResourceGroupCompleteResult
- type AccountsListByResourceGroupCustomPager
- type AccountsListByResourceGroupOperationResponse
- type AccountsListCompleteResult
- type AccountsListCustomPager
- type AccountsListKeysOperationResponse
- type AccountsListModelsCompleteResult
- type AccountsListModelsCustomPager
- type AccountsListModelsOperationResponse
- type AccountsListOperationResponse
- type AccountsListSkusOperationResponse
- type AccountsListUsagesCompleteResult
- type AccountsListUsagesCustomPager
- type AccountsListUsagesOperationOptions
- type AccountsListUsagesOperationResponse
- type AccountsRegenerateKeyOperationResponse
- type AccountsUpdateOperationResponse
- type ApiKeys
- type ApiProperties
- type CallRateLimit
- type CapacityConfig
- type CheckDomainAvailabilityOperationResponse
- type CheckDomainAvailabilityParameter
- type CheckSkuAvailabilityOperationResponse
- type CheckSkuAvailabilityParameter
- type CognitiveServicesAccountsClient
- func (c CognitiveServicesAccountsClient) AccountsCreate(ctx context.Context, id AccountId, input Account) (result AccountsCreateOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsCreateThenPoll(ctx context.Context, id AccountId, input Account) error
- func (c CognitiveServicesAccountsClient) AccountsDelete(ctx context.Context, id AccountId) (result AccountsDeleteOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsDeleteThenPoll(ctx context.Context, id AccountId) error
- func (c CognitiveServicesAccountsClient) AccountsGet(ctx context.Context, id AccountId) (result AccountsGetOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsList(ctx context.Context, id commonids.SubscriptionId) (result AccountsListOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result AccountsListByResourceGroupOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (AccountsListByResourceGroupCompleteResult, error)
- func (c CognitiveServicesAccountsClient) AccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result AccountsListByResourceGroupCompleteResult, err error)
- func (c CognitiveServicesAccountsClient) AccountsListComplete(ctx context.Context, id commonids.SubscriptionId) (AccountsListCompleteResult, error)
- func (c CognitiveServicesAccountsClient) AccountsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result AccountsListCompleteResult, err error)
- func (c CognitiveServicesAccountsClient) AccountsListKeys(ctx context.Context, id AccountId) (result AccountsListKeysOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListModels(ctx context.Context, id AccountId) (result AccountsListModelsOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListModelsComplete(ctx context.Context, id AccountId) (AccountsListModelsCompleteResult, error)
- func (c CognitiveServicesAccountsClient) AccountsListModelsCompleteMatchingPredicate(ctx context.Context, id AccountId, predicate AccountModelOperationPredicate) (result AccountsListModelsCompleteResult, err error)
- func (c CognitiveServicesAccountsClient) AccountsListSkus(ctx context.Context, id AccountId) (result AccountsListSkusOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListUsages(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions) (result AccountsListUsagesOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsListUsagesComplete(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions) (AccountsListUsagesCompleteResult, error)
- func (c CognitiveServicesAccountsClient) AccountsListUsagesCompleteMatchingPredicate(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions, ...) (result AccountsListUsagesCompleteResult, err error)
- func (c CognitiveServicesAccountsClient) AccountsRegenerateKey(ctx context.Context, id AccountId, input RegenerateKeyParameters) (result AccountsRegenerateKeyOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsUpdate(ctx context.Context, id AccountId, input Account) (result AccountsUpdateOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) AccountsUpdateThenPoll(ctx context.Context, id AccountId, input Account) error
- func (c CognitiveServicesAccountsClient) CheckDomainAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckDomainAvailabilityOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) CheckSkuAvailability(ctx context.Context, id LocationId, input CheckSkuAvailabilityParameter) (result CheckSkuAvailabilityOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsGet(ctx context.Context, id DeletedAccountId) (result DeletedAccountsGetOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsList(ctx context.Context, id commonids.SubscriptionId) (result DeletedAccountsListOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsListComplete(ctx context.Context, id commonids.SubscriptionId) (DeletedAccountsListCompleteResult, error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result DeletedAccountsListCompleteResult, err error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsPurge(ctx context.Context, id DeletedAccountId) (result DeletedAccountsPurgeOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) DeletedAccountsPurgeThenPoll(ctx context.Context, id DeletedAccountId) error
- func (c CognitiveServicesAccountsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListOperationResponse, err error)
- func (c CognitiveServicesAccountsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListCompleteResult, error)
- func (c CognitiveServicesAccountsClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListCompleteResult, err error)
- type CommitmentPlanAssociation
- type DeletedAccountId
- type DeletedAccountsGetOperationResponse
- type DeletedAccountsListCompleteResult
- type DeletedAccountsListCustomPager
- type DeletedAccountsListOperationResponse
- type DeletedAccountsPurgeOperationResponse
- type DeploymentModel
- type DomainAvailability
- type Encryption
- type IPRule
- type KeyName
- type KeySource
- type KeyVaultProperties
- type LocationId
- type MetricName
- type ModelDeprecationInfo
- type ModelLifecycleStatus
- type ModelSku
- type MultiRegionSettings
- type NetworkRuleAction
- type NetworkRuleSet
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type QuotaLimit
- type QuotaUsageStatus
- type RegenerateKeyParameters
- type RegionSetting
- type RequestMatchPattern
- type ResourceSku
- type ResourceSkuOperationPredicate
- type ResourceSkuRestrictionInfo
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkusListCompleteResult
- type ResourceSkusListCustomPager
- type ResourceSkusListOperationResponse
- type RoutingMethods
- type Sku
- type SkuAvailability
- type SkuAvailabilityListResult
- type SkuCapability
- type SkuChangeInfo
- type SkuTier
- type ThrottlingRule
- type UnitType
- type Usage
- type UsageOperationPredicate
- type UserOwnedStorage
- type VirtualNetworkRule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAbusePenaltyAction ¶
func PossibleValuesForAbusePenaltyAction() []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 ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateDeletedAccountID ¶
ValidateDeletedAccountID checks that 'input' can be parsed as a Deleted Account ID
func ValidateLocationID ¶
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 ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
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) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise 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"` Skus *[]ModelSku `json:"skus,omitempty"` Source *string `json:"source,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 Source *string Version *string }
func (AccountModelOperationPredicate) Matches ¶
func (p AccountModelOperationPredicate) Matches(input AccountModel) bool
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"` 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"` 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 AccountSkuListResult ¶
type AccountSkuListResult struct {
Value *[]AccountSku `json:"value,omitempty"`
}
type AccountsListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*AccountsListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AccountsListByResourceGroupCustomPager) NextPageLink() *odata.Link
type AccountsListCustomPager ¶ added in v0.20240628.1153531
func (*AccountsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AccountsListCustomPager) NextPageLink() *odata.Link
type AccountsListModelsCompleteResult ¶
type AccountsListModelsCompleteResult struct { LatestHttpResponse *http.Response Items []AccountModel }
type AccountsListModelsCustomPager ¶ added in v0.20240628.1153531
func (*AccountsListModelsCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AccountsListModelsCustomPager) NextPageLink() *odata.Link
type AccountsListModelsOperationResponse ¶
type AccountsListModelsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AccountModel }
type AccountsListSkusOperationResponse ¶
type AccountsListSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountSkuListResult }
type AccountsListUsagesCompleteResult ¶ added in v0.20240226.1173038
type AccountsListUsagesCustomPager ¶ added in v0.20240628.1153531
func (*AccountsListUsagesCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *AccountsListUsagesCustomPager) NextPageLink() *odata.Link
type AccountsListUsagesOperationOptions ¶
type AccountsListUsagesOperationOptions struct {
Filter *string
}
func DefaultAccountsListUsagesOperationOptions ¶
func DefaultAccountsListUsagesOperationOptions() AccountsListUsagesOperationOptions
func (AccountsListUsagesOperationOptions) ToHeaders ¶
func (o AccountsListUsagesOperationOptions) ToHeaders() *client.Headers
func (AccountsListUsagesOperationOptions) ToOData ¶
func (o AccountsListUsagesOperationOptions) ToOData() *odata.Query
func (AccountsListUsagesOperationOptions) ToQuery ¶
func (o AccountsListUsagesOperationOptions) ToQuery() *client.QueryParams
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 CapacityConfig ¶
type CheckDomainAvailabilityOperationResponse ¶
type CheckDomainAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DomainAvailability }
type CheckSkuAvailabilityOperationResponse ¶
type CheckSkuAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SkuAvailabilityListResult }
type CognitiveServicesAccountsClient ¶
type CognitiveServicesAccountsClient struct {
Client *resourcemanager.Client
}
func NewCognitiveServicesAccountsClientWithBaseURI ¶
func NewCognitiveServicesAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*CognitiveServicesAccountsClient, error)
func (CognitiveServicesAccountsClient) AccountsCreate ¶
func (c CognitiveServicesAccountsClient) AccountsCreate(ctx context.Context, id AccountId, input Account) (result AccountsCreateOperationResponse, 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 AccountsDeleteOperationResponse, 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 ¶
func (c CognitiveServicesAccountsClient) AccountsGet(ctx context.Context, id AccountId) (result AccountsGetOperationResponse, err error)
AccountsGet ...
func (CognitiveServicesAccountsClient) AccountsList ¶
func (c CognitiveServicesAccountsClient) AccountsList(ctx context.Context, id commonids.SubscriptionId) (result AccountsListOperationResponse, err error)
AccountsList ...
func (CognitiveServicesAccountsClient) AccountsListByResourceGroup ¶
func (c CognitiveServicesAccountsClient) AccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result AccountsListByResourceGroupOperationResponse, err error)
AccountsListByResourceGroup ...
func (CognitiveServicesAccountsClient) AccountsListByResourceGroupComplete ¶
func (c CognitiveServicesAccountsClient) AccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (AccountsListByResourceGroupCompleteResult, error)
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 ¶
func (c CognitiveServicesAccountsClient) AccountsListComplete(ctx context.Context, id commonids.SubscriptionId) (AccountsListCompleteResult, error)
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 ¶
func (c CognitiveServicesAccountsClient) AccountsListKeys(ctx context.Context, id AccountId) (result AccountsListKeysOperationResponse, err error)
AccountsListKeys ...
func (CognitiveServicesAccountsClient) AccountsListModels ¶
func (c CognitiveServicesAccountsClient) AccountsListModels(ctx context.Context, id AccountId) (result AccountsListModelsOperationResponse, err error)
AccountsListModels ...
func (CognitiveServicesAccountsClient) AccountsListModelsComplete ¶
func (c CognitiveServicesAccountsClient) AccountsListModelsComplete(ctx context.Context, id AccountId) (AccountsListModelsCompleteResult, error)
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 ¶
func (c CognitiveServicesAccountsClient) AccountsListSkus(ctx context.Context, id AccountId) (result AccountsListSkusOperationResponse, err error)
AccountsListSkus ...
func (CognitiveServicesAccountsClient) AccountsListUsages ¶
func (c CognitiveServicesAccountsClient) AccountsListUsages(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions) (result AccountsListUsagesOperationResponse, err error)
AccountsListUsages ...
func (CognitiveServicesAccountsClient) AccountsListUsagesComplete ¶ added in v0.20240226.1173038
func (c CognitiveServicesAccountsClient) AccountsListUsagesComplete(ctx context.Context, id AccountId, options AccountsListUsagesOperationOptions) (AccountsListUsagesCompleteResult, error)
AccountsListUsagesComplete retrieves all the results into a single object
func (CognitiveServicesAccountsClient) AccountsListUsagesCompleteMatchingPredicate ¶ added in v0.20240226.1173038
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 ¶
func (c CognitiveServicesAccountsClient) AccountsRegenerateKey(ctx context.Context, id AccountId, input RegenerateKeyParameters) (result AccountsRegenerateKeyOperationResponse, err error)
AccountsRegenerateKey ...
func (CognitiveServicesAccountsClient) AccountsUpdate ¶
func (c CognitiveServicesAccountsClient) AccountsUpdate(ctx context.Context, id AccountId, input Account) (result AccountsUpdateOperationResponse, 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 ¶
func (c CognitiveServicesAccountsClient) CheckDomainAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckDomainAvailabilityParameter) (result CheckDomainAvailabilityOperationResponse, err error)
CheckDomainAvailability ...
func (CognitiveServicesAccountsClient) CheckSkuAvailability ¶
func (c CognitiveServicesAccountsClient) CheckSkuAvailability(ctx context.Context, id LocationId, input CheckSkuAvailabilityParameter) (result CheckSkuAvailabilityOperationResponse, err error)
CheckSkuAvailability ...
func (CognitiveServicesAccountsClient) DeletedAccountsGet ¶
func (c CognitiveServicesAccountsClient) DeletedAccountsGet(ctx context.Context, id DeletedAccountId) (result DeletedAccountsGetOperationResponse, err error)
DeletedAccountsGet ...
func (CognitiveServicesAccountsClient) DeletedAccountsList ¶
func (c CognitiveServicesAccountsClient) DeletedAccountsList(ctx context.Context, id commonids.SubscriptionId) (result DeletedAccountsListOperationResponse, err error)
DeletedAccountsList ...
func (CognitiveServicesAccountsClient) DeletedAccountsListComplete ¶
func (c CognitiveServicesAccountsClient) DeletedAccountsListComplete(ctx context.Context, id commonids.SubscriptionId) (DeletedAccountsListCompleteResult, error)
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 ¶
func (c CognitiveServicesAccountsClient) DeletedAccountsPurge(ctx context.Context, id DeletedAccountId) (result DeletedAccountsPurgeOperationResponse, err error)
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 ¶
func (c CognitiveServicesAccountsClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListOperationResponse, err error)
ResourceSkusList ...
func (CognitiveServicesAccountsClient) ResourceSkusListComplete ¶
func (c CognitiveServicesAccountsClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListCompleteResult, error)
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 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 DeletedAccountsListCustomPager ¶ added in v0.20240628.1153531
func (*DeletedAccountsListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *DeletedAccountsListCustomPager) NextPageLink() *odata.Link
type DeploymentModel ¶
type DeploymentModel struct { CallRateLimit *CallRateLimit `json:"callRateLimit,omitempty"` Format *string `json:"format,omitempty"` Name *string `json:"name,omitempty"` Source *string `json:"source,omitempty"` Version *string `json:"version,omitempty"` }
type DomainAvailability ¶
type Encryption ¶
type Encryption struct { KeySource *KeySource `json:"keySource,omitempty"` KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` }
type KeyVaultProperties ¶
type LocationId ¶
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) 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 ModelDeprecationInfo ¶
type ModelLifecycleStatus ¶
type ModelLifecycleStatus string
const ( ModelLifecycleStatusGenerallyAvailable ModelLifecycleStatus = "GenerallyAvailable" ModelLifecycleStatusPreview ModelLifecycleStatus = "Preview" )
func (*ModelLifecycleStatus) UnmarshalJSON ¶
func (s *ModelLifecycleStatus) UnmarshalJSON(bytes []byte) error
type ModelSku ¶
type ModelSku struct { Capacity *CapacityConfig `json:"capacity,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 (*ModelSku) SetDeprecationDateAsTime ¶
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 { 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 RegenerateKeyParameters ¶
type RegenerateKeyParameters struct {
KeyName KeyName `json:"keyName"`
}
type RegionSetting ¶
type RequestMatchPattern ¶
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 ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
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 ¶ added in v0.20240628.1153531
func (*ResourceSkusListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
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 SkuAvailability ¶
type SkuAvailabilityListResult ¶
type SkuAvailabilityListResult struct {
Value *[]SkuAvailability `json:"value,omitempty"`
}
type SkuCapability ¶
type SkuChangeInfo ¶
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 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 ¶ added in v0.20240226.1173038
type UsageOperationPredicate struct { CurrentValue *float64 Limit *float64 NextResetTime *string QuotaPeriod *string }
func (UsageOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p UsageOperationPredicate) Matches(input Usage) bool
type UserOwnedStorage ¶
type VirtualNetworkRule ¶
Source Files ¶
- client.go
- constants.go
- id_account.go
- id_deletedaccount.go
- id_location.go
- method_accountscreate.go
- method_accountsdelete.go
- method_accountsget.go
- method_accountslist.go
- method_accountslistbyresourcegroup.go
- method_accountslistkeys.go
- method_accountslistmodels.go
- method_accountslistskus.go
- method_accountslistusages.go
- method_accountsregeneratekey.go
- method_accountsupdate.go
- method_checkdomainavailability.go
- method_checkskuavailability.go
- method_deletedaccountsget.go
- method_deletedaccountslist.go
- method_deletedaccountspurge.go
- method_resourceskuslist.go
- model_abusepenalty.go
- model_account.go
- model_accountmodel.go
- model_accountproperties.go
- model_accountsku.go
- model_accountskulistresult.go
- model_apikeys.go
- model_apiproperties.go
- model_callratelimit.go
- model_capacityconfig.go
- model_checkdomainavailabilityparameter.go
- model_checkskuavailabilityparameter.go
- model_commitmentplanassociation.go
- model_deploymentmodel.go
- model_domainavailability.go
- model_encryption.go
- model_iprule.go
- model_keyvaultproperties.go
- model_metricname.go
- model_modeldeprecationinfo.go
- model_modelsku.go
- model_multiregionsettings.go
- model_networkruleset.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_quotalimit.go
- model_regeneratekeyparameters.go
- model_regionsetting.go
- model_requestmatchpattern.go
- model_resourcesku.go
- model_resourceskurestrictioninfo.go
- model_resourceskurestrictions.go
- model_sku.go
- model_skuavailability.go
- model_skuavailabilitylistresult.go
- model_skucapability.go
- model_skuchangeinfo.go
- model_throttlingrule.go
- model_usage.go
- model_userownedstorage.go
- model_virtualnetworkrule.go
- predicates.go
- version.go