Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + Action *AbusePenaltyAction + Expiration *string + RateLimitPercentage *float64 + func (o *AbusePenalty) GetExpirationAsTime() (*time.Time, error) + func (o *AbusePenalty) SetExpirationAsTime(input time.Time) + type AbusePenaltyAction string + const AbusePenaltyActionBlock + const AbusePenaltyActionThrottle + func (s *AbusePenaltyAction) UnmarshalJSON(bytes []byte) error + type Account struct + Etag *string + Id *string + Identity *identity.SystemAndUserAssignedMap + Kind *string + Location *string + Name *string + Properties *AccountProperties + Sku *Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type AccountId struct + AccountName string + ResourceGroupName string + SubscriptionId string + func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId + func ParseAccountID(input string) (*AccountId, error) + func ParseAccountIDInsensitively(input string) (*AccountId, error) + func (id *AccountId) FromParseResult(input resourceids.ParseResult) error + func (id AccountId) ID() string + func (id AccountId) Segments() []resourceids.Segment + func (id AccountId) String() string + type AccountModel struct + BaseModel *DeploymentModel + CallRateLimit *CallRateLimit + Capabilities *map[string]string + Deprecation *ModelDeprecationInfo + FinetuneCapabilities *map[string]string + Format *string + IsDefaultVersion *bool + LifecycleStatus *ModelLifecycleStatus + MaxCapacity *int64 + Name *string + Skus *[]ModelSku + Source *string + SystemData *systemdata.SystemData + Version *string + type AccountModelOperationPredicate struct + Format *string + IsDefaultVersion *bool + MaxCapacity *int64 + Name *string + Source *string + Version *string + func (p AccountModelOperationPredicate) Matches(input AccountModel) bool + type AccountOperationPredicate struct + Etag *string + Id *string + Kind *string + Location *string + Name *string + Type *string + func (p AccountOperationPredicate) Matches(input Account) bool + type AccountProperties struct + AbusePenalty *AbusePenalty + AllowedFqdnList *[]string + ApiProperties *ApiProperties + CallRateLimit *CallRateLimit + Capabilities *[]SkuCapability + CommitmentPlanAssociations *[]CommitmentPlanAssociation + CustomSubDomainName *string + DateCreated *string + DeletionDate *string + DisableLocalAuth *bool + DynamicThrottlingEnabled *bool + Encryption *Encryption + Endpoint *string + Endpoints *map[string]string + InternalId *string + IsMigrated *bool + Locations *MultiRegionSettings + MigrationToken *string + NetworkAcls *NetworkRuleSet + PrivateEndpointConnections *[]PrivateEndpointConnection + ProvisioningState *ProvisioningState + PublicNetworkAccess *PublicNetworkAccess + QuotaLimit *QuotaLimit + Restore *bool + RestrictOutboundNetworkAccess *bool + ScheduledPurgeDate *string + SkuChangeInfo *SkuChangeInfo + UserOwnedStorage *[]UserOwnedStorage + type AccountSku struct + ResourceType *string + Sku *Sku + type AccountSkuListResult struct + Value *[]AccountSku + type AccountsCreateOperationResponse struct + HttpResponse *http.Response + Model *Account + OData *odata.OData + Poller pollers.Poller + type AccountsDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type AccountsGetOperationResponse struct + HttpResponse *http.Response + Model *Account + OData *odata.OData + type AccountsListByResourceGroupCompleteResult struct + Items []Account + LatestHttpResponse *http.Response + type AccountsListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *AccountsListByResourceGroupCustomPager) NextPageLink() *odata.Link + type AccountsListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Account + OData *odata.OData + type AccountsListCompleteResult struct + Items []Account + LatestHttpResponse *http.Response + type AccountsListCustomPager struct + NextLink *odata.Link + func (p *AccountsListCustomPager) NextPageLink() *odata.Link + type AccountsListKeysOperationResponse struct + HttpResponse *http.Response + Model *ApiKeys + OData *odata.OData + type AccountsListModelsCompleteResult struct + Items []AccountModel + LatestHttpResponse *http.Response + type AccountsListModelsCustomPager struct + NextLink *odata.Link + func (p *AccountsListModelsCustomPager) NextPageLink() *odata.Link + type AccountsListModelsOperationResponse struct + HttpResponse *http.Response + Model *[]AccountModel + OData *odata.OData + type AccountsListOperationResponse struct + HttpResponse *http.Response + Model *[]Account + OData *odata.OData + type AccountsListSkusOperationResponse struct + HttpResponse *http.Response + Model *AccountSkuListResult + OData *odata.OData + type AccountsListUsagesCompleteResult struct + Items []Usage + LatestHttpResponse *http.Response + type AccountsListUsagesCustomPager struct + NextLink *odata.Link + func (p *AccountsListUsagesCustomPager) NextPageLink() *odata.Link + type AccountsListUsagesOperationOptions struct + Filter *string + func DefaultAccountsListUsagesOperationOptions() AccountsListUsagesOperationOptions + func (o AccountsListUsagesOperationOptions) ToHeaders() *client.Headers + func (o AccountsListUsagesOperationOptions) ToOData() *odata.Query + func (o AccountsListUsagesOperationOptions) ToQuery() *client.QueryParams + type AccountsListUsagesOperationResponse struct + HttpResponse *http.Response + Model *[]Usage + OData *odata.OData + type AccountsRegenerateKeyOperationResponse struct + HttpResponse *http.Response + Model *ApiKeys + OData *odata.OData + type AccountsUpdateOperationResponse struct + HttpResponse *http.Response + Model *Account + OData *odata.OData + Poller pollers.Poller + type ApiKeys struct + Key1 *string + Key2 *string + type ApiProperties struct + AadClientId *string + AadTenantId *string + EventHubConnectionString *string + QnaAzureSearchEndpointId *string + QnaAzureSearchEndpointKey *string + QnaRuntimeEndpoint *string + StatisticsEnabled *bool + StorageAccountConnectionString *string + SuperUser *string + WebsiteName *string + type CallRateLimit struct + Count *float64 + RenewalPeriod *float64 + Rules *[]ThrottlingRule + type CapacityConfig struct + Default *int64 + Maximum *int64 + Minimum *int64 + Step *int64 + type CheckDomainAvailabilityOperationResponse struct + HttpResponse *http.Response + Model *DomainAvailability + OData *odata.OData + type CheckDomainAvailabilityParameter struct + Kind *string + SubdomainName string + Type string + type CheckSkuAvailabilityOperationResponse struct + HttpResponse *http.Response + Model *SkuAvailabilityListResult + OData *odata.OData + type CheckSkuAvailabilityParameter struct + Kind string + Skus []string + Type string + type CognitiveServicesAccountsClient struct + Client *resourcemanager.Client + func NewCognitiveServicesAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*CognitiveServicesAccountsClient, error) + 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 struct + CommitmentPlanId *string + CommitmentPlanLocation *string + type DeletedAccountId struct + DeletedAccountName string + LocationName string + ResourceGroupName string + SubscriptionId string + func NewDeletedAccountID(subscriptionId string, locationName string, resourceGroupName string, ...) DeletedAccountId + func ParseDeletedAccountID(input string) (*DeletedAccountId, error) + func ParseDeletedAccountIDInsensitively(input string) (*DeletedAccountId, error) + func (id *DeletedAccountId) FromParseResult(input resourceids.ParseResult) error + func (id DeletedAccountId) ID() string + func (id DeletedAccountId) Segments() []resourceids.Segment + func (id DeletedAccountId) String() string + type DeletedAccountsGetOperationResponse struct + HttpResponse *http.Response + Model *Account + OData *odata.OData + type DeletedAccountsListCompleteResult struct + Items []Account + LatestHttpResponse *http.Response + type DeletedAccountsListCustomPager struct + NextLink *odata.Link + func (p *DeletedAccountsListCustomPager) NextPageLink() *odata.Link + type DeletedAccountsListOperationResponse struct + HttpResponse *http.Response + Model *[]Account + OData *odata.OData + type DeletedAccountsPurgeOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DeploymentModel struct + CallRateLimit *CallRateLimit + Format *string + Name *string + Source *string + Version *string + type DomainAvailability struct + IsSubdomainAvailable *bool + Kind *string + Reason *string + SubdomainName *string + Type *string + type Encryption struct + KeySource *KeySource + KeyVaultProperties *KeyVaultProperties + type IPRule struct + Value string + type KeyName string + const KeyNameKeyOne + const KeyNameKeyTwo + func (s *KeyName) UnmarshalJSON(bytes []byte) error + type KeySource string + const KeySourceMicrosoftPointCognitiveServices + const KeySourceMicrosoftPointKeyVault + func (s *KeySource) UnmarshalJSON(bytes []byte) error + type KeyVaultProperties struct + IdentityClientId *string + KeyName *string + KeyVaultUri *string + KeyVersion *string + type LocationId struct + LocationName string + SubscriptionId string + func NewLocationID(subscriptionId string, locationName string) LocationId + func ParseLocationID(input string) (*LocationId, error) + func ParseLocationIDInsensitively(input string) (*LocationId, error) + func (id *LocationId) FromParseResult(input resourceids.ParseResult) error + func (id LocationId) ID() string + func (id LocationId) Segments() []resourceids.Segment + func (id LocationId) String() string + type MetricName struct + LocalizedValue *string + Value *string + type ModelDeprecationInfo struct + FineTune *string + Inference *string + type ModelLifecycleStatus string + const ModelLifecycleStatusGenerallyAvailable + const ModelLifecycleStatusPreview + func (s *ModelLifecycleStatus) UnmarshalJSON(bytes []byte) error + type ModelSku struct + Capacity *CapacityConfig + DeprecationDate *string + Name *string + RateLimits *[]CallRateLimit + UsageName *string + func (o *ModelSku) GetDeprecationDateAsTime() (*time.Time, error) + func (o *ModelSku) SetDeprecationDateAsTime(input time.Time) + type MultiRegionSettings struct + Regions *[]RegionSetting + RoutingMethod *RoutingMethods + type NetworkRuleAction string + const NetworkRuleActionAllow + const NetworkRuleActionDeny + func (s *NetworkRuleAction) UnmarshalJSON(bytes []byte) error + type NetworkRuleSet struct + DefaultAction *NetworkRuleAction + IPRules *[]IPRule + VirtualNetworkRules *[]VirtualNetworkRule + type PrivateEndpoint struct + Id *string + type PrivateEndpointConnection struct + Etag *string + Id *string + Location *string + Name *string + Properties *PrivateEndpointConnectionProperties + SystemData *systemdata.SystemData + Type *string + type PrivateEndpointConnectionProperties struct + GroupIds *[]string + PrivateEndpoint *PrivateEndpoint + PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState + ProvisioningState *PrivateEndpointConnectionProvisioningState + type PrivateEndpointConnectionProvisioningState string + const PrivateEndpointConnectionProvisioningStateCreating + const PrivateEndpointConnectionProvisioningStateDeleting + const PrivateEndpointConnectionProvisioningStateFailed + const PrivateEndpointConnectionProvisioningStateSucceeded + func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error + type PrivateEndpointServiceConnectionStatus string + const PrivateEndpointServiceConnectionStatusApproved + const PrivateEndpointServiceConnectionStatusPending + const PrivateEndpointServiceConnectionStatusRejected + func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error + type PrivateLinkServiceConnectionState struct + ActionsRequired *string + Description *string + Status *PrivateEndpointServiceConnectionStatus + type ProvisioningState string + const ProvisioningStateAccepted + const ProvisioningStateCreating + const ProvisioningStateDeleting + const ProvisioningStateFailed + const ProvisioningStateMoving + const ProvisioningStateResolvingDNS + const ProvisioningStateSucceeded + func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error + type PublicNetworkAccess string + const PublicNetworkAccessDisabled + const PublicNetworkAccessEnabled + func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error + type QuotaLimit struct + Count *float64 + RenewalPeriod *float64 + Rules *[]ThrottlingRule + type QuotaUsageStatus string + const QuotaUsageStatusBlocked + const QuotaUsageStatusInOverage + const QuotaUsageStatusIncluded + const QuotaUsageStatusUnknown + func (s *QuotaUsageStatus) UnmarshalJSON(bytes []byte) error + type RegenerateKeyParameters struct + KeyName KeyName + type RegionSetting struct + Customsubdomain *string + Name *string + Value *float64 + type RequestMatchPattern struct + Method *string + Path *string + type ResourceSku struct + Kind *string + Locations *[]string + Name *string + ResourceType *string + Restrictions *[]ResourceSkuRestrictions + Tier *string + type ResourceSkuOperationPredicate struct + Kind *string + Name *string + ResourceType *string + Tier *string + func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool + type ResourceSkuRestrictionInfo struct + Locations *[]string + Zones *zones.Schema + type ResourceSkuRestrictions struct + ReasonCode *ResourceSkuRestrictionsReasonCode + RestrictionInfo *ResourceSkuRestrictionInfo + Type *ResourceSkuRestrictionsType + Values *[]string + type ResourceSkuRestrictionsReasonCode string + const ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription + const ResourceSkuRestrictionsReasonCodeQuotaId + func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error + type ResourceSkuRestrictionsType string + const ResourceSkuRestrictionsTypeLocation + const ResourceSkuRestrictionsTypeZone + func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error + type ResourceSkusListCompleteResult struct + Items []ResourceSku + LatestHttpResponse *http.Response + type ResourceSkusListCustomPager struct + NextLink *odata.Link + func (p *ResourceSkusListCustomPager) NextPageLink() *odata.Link + type ResourceSkusListOperationResponse struct + HttpResponse *http.Response + Model *[]ResourceSku + OData *odata.OData + type RoutingMethods string + const RoutingMethodsPerformance + const RoutingMethodsPriority + const RoutingMethodsWeighted + func (s *RoutingMethods) UnmarshalJSON(bytes []byte) error + type Sku struct + Capacity *int64 + Family *string + Name string + Size *string + Tier *SkuTier + type SkuAvailability struct + Kind *string + Message *string + Reason *string + SkuAvailable *bool + SkuName *string + Type *string + type SkuAvailabilityListResult struct + Value *[]SkuAvailability + type SkuCapability struct + Name *string + Value *string + type SkuChangeInfo struct + CountOfDowngrades *float64 + CountOfUpgradesAfterDowngrades *float64 + LastChangeDate *string + type SkuTier string + const SkuTierBasic + const SkuTierEnterprise + const SkuTierFree + const SkuTierPremium + const SkuTierStandard + func (s *SkuTier) UnmarshalJSON(bytes []byte) error + type ThrottlingRule struct + Count *float64 + DynamicThrottlingEnabled *bool + Key *string + MatchPatterns *[]RequestMatchPattern + MinCount *float64 + RenewalPeriod *float64 + type UnitType string + const UnitTypeBytes + const UnitTypeBytesPerSecond + const UnitTypeCount + const UnitTypeCountPerSecond + const UnitTypeMilliseconds + const UnitTypePercent + const UnitTypeSeconds + func (s *UnitType) UnmarshalJSON(bytes []byte) error + type Usage struct + CurrentValue *float64 + Limit *float64 + Name *MetricName + NextResetTime *string + QuotaPeriod *string + Status *QuotaUsageStatus + Unit *UnitType + type UsageOperationPredicate struct + CurrentValue *float64 + Limit *float64 + NextResetTime *string + QuotaPeriod *string + func (p UsageOperationPredicate) Matches(input Usage) bool + type UserOwnedStorage struct + IdentityClientId *string + ResourceId *string + type VirtualNetworkRule struct + Id string + IgnoreMissingVnetServiceEndpoint *bool + State *string