Documentation ¶
Index ¶
- type AccountsServer
- type AccountsServerTransport
- type CommitmentPlansServer
- type CommitmentPlansServerTransport
- type CommitmentTiersServer
- type CommitmentTiersServerTransport
- type DefenderForAISettingsServer
- type DefenderForAISettingsServerTransport
- type DeletedAccountsServer
- type DeletedAccountsServerTransport
- type DeploymentsServer
- type DeploymentsServerTransport
- type EncryptionScopesServer
- type EncryptionScopesServerTransport
- type LocationBasedModelCapacitiesServer
- type LocationBasedModelCapacitiesServerTransport
- type ManagementServer
- type ManagementServerTransport
- type ModelCapacitiesServer
- type ModelCapacitiesServerTransport
- type ModelsServer
- type ModelsServerTransport
- type NetworkSecurityPerimeterConfigurationsServer
- type NetworkSecurityPerimeterConfigurationsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- type RaiBlocklistItemsServer
- type RaiBlocklistItemsServerTransport
- type RaiBlocklistsServer
- type RaiBlocklistsServerTransport
- type RaiContentFiltersServer
- type RaiContentFiltersServerTransport
- type RaiPoliciesServer
- type RaiPoliciesServerTransport
- type ResourceSKUsServer
- type ResourceSKUsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type UsagesServer
- type UsagesServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsServer ¶
type AccountsServer struct { // BeginCreate is the fake for method AccountsClient.BeginCreate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreate func(ctx context.Context, resourceGroupName string, accountName string, account armcognitiveservices.Account, options *armcognitiveservices.AccountsClientBeginCreateOptions) (resp azfake.PollerResponder[armcognitiveservices.AccountsClientCreateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method AccountsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.AccountsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method AccountsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientGetOptions) (resp azfake.Responder[armcognitiveservices.AccountsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method AccountsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcognitiveservices.AccountsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.AccountsClientListResponse]) // NewListByResourceGroupPager is the fake for method AccountsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armcognitiveservices.AccountsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armcognitiveservices.AccountsClientListByResourceGroupResponse]) // ListKeys is the fake for method AccountsClient.ListKeys // HTTP status codes to indicate success: http.StatusOK ListKeys func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientListKeysOptions) (resp azfake.Responder[armcognitiveservices.AccountsClientListKeysResponse], errResp azfake.ErrorResponder) // NewListModelsPager is the fake for method AccountsClient.NewListModelsPager // HTTP status codes to indicate success: http.StatusOK NewListModelsPager func(resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientListModelsOptions) (resp azfake.PagerResponder[armcognitiveservices.AccountsClientListModelsResponse]) // ListSKUs is the fake for method AccountsClient.ListSKUs // HTTP status codes to indicate success: http.StatusOK ListSKUs func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientListSKUsOptions) (resp azfake.Responder[armcognitiveservices.AccountsClientListSKUsResponse], errResp azfake.ErrorResponder) // ListUsages is the fake for method AccountsClient.ListUsages // HTTP status codes to indicate success: http.StatusOK ListUsages func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.AccountsClientListUsagesOptions) (resp azfake.Responder[armcognitiveservices.AccountsClientListUsagesResponse], errResp azfake.ErrorResponder) // RegenerateKey is the fake for method AccountsClient.RegenerateKey // HTTP status codes to indicate success: http.StatusOK RegenerateKey func(ctx context.Context, resourceGroupName string, accountName string, parameters armcognitiveservices.RegenerateKeyParameters, options *armcognitiveservices.AccountsClientRegenerateKeyOptions) (resp azfake.Responder[armcognitiveservices.AccountsClientRegenerateKeyResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method AccountsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, account armcognitiveservices.Account, options *armcognitiveservices.AccountsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcognitiveservices.AccountsClientUpdateResponse], errResp azfake.ErrorResponder) }
AccountsServer is a fake server for instances of the armcognitiveservices.AccountsClient type.
type AccountsServerTransport ¶
type AccountsServerTransport struct {
// contains filtered or unexported fields
}
AccountsServerTransport connects instances of armcognitiveservices.AccountsClient to instances of AccountsServer. Don't use this type directly, use NewAccountsServerTransport instead.
func NewAccountsServerTransport ¶
func NewAccountsServerTransport(srv *AccountsServer) *AccountsServerTransport
NewAccountsServerTransport creates a new instance of AccountsServerTransport with the provided implementation. The returned AccountsServerTransport instance is connected to an instance of armcognitiveservices.AccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CommitmentPlansServer ¶
type CommitmentPlansServer struct { // CreateOrUpdate is the fake for method CommitmentPlansClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, commitmentPlanName string, commitmentPlan armcognitiveservices.CommitmentPlan, options *armcognitiveservices.CommitmentPlansClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.CommitmentPlansClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateAssociation is the fake for method CommitmentPlansClient.BeginCreateOrUpdateAssociation // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdateAssociation func(ctx context.Context, resourceGroupName string, commitmentPlanName string, commitmentPlanAssociationName string, association armcognitiveservices.CommitmentPlanAccountAssociation, options *armcognitiveservices.CommitmentPlansClientBeginCreateOrUpdateAssociationOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientCreateOrUpdateAssociationResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdatePlan is the fake for method CommitmentPlansClient.BeginCreateOrUpdatePlan // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdatePlan func(ctx context.Context, resourceGroupName string, commitmentPlanName string, commitmentPlan armcognitiveservices.CommitmentPlan, options *armcognitiveservices.CommitmentPlansClientBeginCreateOrUpdatePlanOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientCreateOrUpdatePlanResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method CommitmentPlansClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, commitmentPlanName string, options *armcognitiveservices.CommitmentPlansClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDeleteAssociation is the fake for method CommitmentPlansClient.BeginDeleteAssociation // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeleteAssociation func(ctx context.Context, resourceGroupName string, commitmentPlanName string, commitmentPlanAssociationName string, options *armcognitiveservices.CommitmentPlansClientBeginDeleteAssociationOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientDeleteAssociationResponse], errResp azfake.ErrorResponder) // BeginDeletePlan is the fake for method CommitmentPlansClient.BeginDeletePlan // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeletePlan func(ctx context.Context, resourceGroupName string, commitmentPlanName string, options *armcognitiveservices.CommitmentPlansClientBeginDeletePlanOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientDeletePlanResponse], errResp azfake.ErrorResponder) // Get is the fake for method CommitmentPlansClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, commitmentPlanName string, options *armcognitiveservices.CommitmentPlansClientGetOptions) (resp azfake.Responder[armcognitiveservices.CommitmentPlansClientGetResponse], errResp azfake.ErrorResponder) // GetAssociation is the fake for method CommitmentPlansClient.GetAssociation // HTTP status codes to indicate success: http.StatusOK GetAssociation func(ctx context.Context, resourceGroupName string, commitmentPlanName string, commitmentPlanAssociationName string, options *armcognitiveservices.CommitmentPlansClientGetAssociationOptions) (resp azfake.Responder[armcognitiveservices.CommitmentPlansClientGetAssociationResponse], errResp azfake.ErrorResponder) // GetPlan is the fake for method CommitmentPlansClient.GetPlan // HTTP status codes to indicate success: http.StatusOK GetPlan func(ctx context.Context, resourceGroupName string, commitmentPlanName string, options *armcognitiveservices.CommitmentPlansClientGetPlanOptions) (resp azfake.Responder[armcognitiveservices.CommitmentPlansClientGetPlanResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method CommitmentPlansClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.CommitmentPlansClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.CommitmentPlansClientListResponse]) // NewListAssociationsPager is the fake for method CommitmentPlansClient.NewListAssociationsPager // HTTP status codes to indicate success: http.StatusOK NewListAssociationsPager func(resourceGroupName string, commitmentPlanName string, options *armcognitiveservices.CommitmentPlansClientListAssociationsOptions) (resp azfake.PagerResponder[armcognitiveservices.CommitmentPlansClientListAssociationsResponse]) // NewListPlansByResourceGroupPager is the fake for method CommitmentPlansClient.NewListPlansByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListPlansByResourceGroupPager func(resourceGroupName string, options *armcognitiveservices.CommitmentPlansClientListPlansByResourceGroupOptions) (resp azfake.PagerResponder[armcognitiveservices.CommitmentPlansClientListPlansByResourceGroupResponse]) // NewListPlansBySubscriptionPager is the fake for method CommitmentPlansClient.NewListPlansBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListPlansBySubscriptionPager func(options *armcognitiveservices.CommitmentPlansClientListPlansBySubscriptionOptions) (resp azfake.PagerResponder[armcognitiveservices.CommitmentPlansClientListPlansBySubscriptionResponse]) // BeginUpdatePlan is the fake for method CommitmentPlansClient.BeginUpdatePlan // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdatePlan func(ctx context.Context, resourceGroupName string, commitmentPlanName string, commitmentPlan armcognitiveservices.PatchResourceTagsAndSKU, options *armcognitiveservices.CommitmentPlansClientBeginUpdatePlanOptions) (resp azfake.PollerResponder[armcognitiveservices.CommitmentPlansClientUpdatePlanResponse], errResp azfake.ErrorResponder) }
CommitmentPlansServer is a fake server for instances of the armcognitiveservices.CommitmentPlansClient type.
type CommitmentPlansServerTransport ¶
type CommitmentPlansServerTransport struct {
// contains filtered or unexported fields
}
CommitmentPlansServerTransport connects instances of armcognitiveservices.CommitmentPlansClient to instances of CommitmentPlansServer. Don't use this type directly, use NewCommitmentPlansServerTransport instead.
func NewCommitmentPlansServerTransport ¶
func NewCommitmentPlansServerTransport(srv *CommitmentPlansServer) *CommitmentPlansServerTransport
NewCommitmentPlansServerTransport creates a new instance of CommitmentPlansServerTransport with the provided implementation. The returned CommitmentPlansServerTransport instance is connected to an instance of armcognitiveservices.CommitmentPlansClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CommitmentTiersServer ¶
type CommitmentTiersServer struct { // NewListPager is the fake for method CommitmentTiersClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armcognitiveservices.CommitmentTiersClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.CommitmentTiersClientListResponse]) }
CommitmentTiersServer is a fake server for instances of the armcognitiveservices.CommitmentTiersClient type.
type CommitmentTiersServerTransport ¶
type CommitmentTiersServerTransport struct {
// contains filtered or unexported fields
}
CommitmentTiersServerTransport connects instances of armcognitiveservices.CommitmentTiersClient to instances of CommitmentTiersServer. Don't use this type directly, use NewCommitmentTiersServerTransport instead.
func NewCommitmentTiersServerTransport ¶
func NewCommitmentTiersServerTransport(srv *CommitmentTiersServer) *CommitmentTiersServerTransport
NewCommitmentTiersServerTransport creates a new instance of CommitmentTiersServerTransport with the provided implementation. The returned CommitmentTiersServerTransport instance is connected to an instance of armcognitiveservices.CommitmentTiersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DefenderForAISettingsServer ¶ added in v1.7.0
type DefenderForAISettingsServer struct { // CreateOrUpdate is the fake for method DefenderForAISettingsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, defenderForAISettingName string, defenderForAISettings armcognitiveservices.DefenderForAISetting, options *armcognitiveservices.DefenderForAISettingsClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.DefenderForAISettingsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Get is the fake for method DefenderForAISettingsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, defenderForAISettingName string, options *armcognitiveservices.DefenderForAISettingsClientGetOptions) (resp azfake.Responder[armcognitiveservices.DefenderForAISettingsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DefenderForAISettingsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.DefenderForAISettingsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.DefenderForAISettingsClientListResponse]) // Update is the fake for method DefenderForAISettingsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, accountName string, defenderForAISettingName string, defenderForAISettings armcognitiveservices.DefenderForAISetting, options *armcognitiveservices.DefenderForAISettingsClientUpdateOptions) (resp azfake.Responder[armcognitiveservices.DefenderForAISettingsClientUpdateResponse], errResp azfake.ErrorResponder) }
DefenderForAISettingsServer is a fake server for instances of the armcognitiveservices.DefenderForAISettingsClient type.
type DefenderForAISettingsServerTransport ¶ added in v1.7.0
type DefenderForAISettingsServerTransport struct {
// contains filtered or unexported fields
}
DefenderForAISettingsServerTransport connects instances of armcognitiveservices.DefenderForAISettingsClient to instances of DefenderForAISettingsServer. Don't use this type directly, use NewDefenderForAISettingsServerTransport instead.
func NewDefenderForAISettingsServerTransport ¶ added in v1.7.0
func NewDefenderForAISettingsServerTransport(srv *DefenderForAISettingsServer) *DefenderForAISettingsServerTransport
NewDefenderForAISettingsServerTransport creates a new instance of DefenderForAISettingsServerTransport with the provided implementation. The returned DefenderForAISettingsServerTransport instance is connected to an instance of armcognitiveservices.DefenderForAISettingsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DeletedAccountsServer ¶
type DeletedAccountsServer struct { // Get is the fake for method DeletedAccountsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, location string, resourceGroupName string, accountName string, options *armcognitiveservices.DeletedAccountsClientGetOptions) (resp azfake.Responder[armcognitiveservices.DeletedAccountsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DeletedAccountsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcognitiveservices.DeletedAccountsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.DeletedAccountsClientListResponse]) // BeginPurge is the fake for method DeletedAccountsClient.BeginPurge // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginPurge func(ctx context.Context, location string, resourceGroupName string, accountName string, options *armcognitiveservices.DeletedAccountsClientBeginPurgeOptions) (resp azfake.PollerResponder[armcognitiveservices.DeletedAccountsClientPurgeResponse], errResp azfake.ErrorResponder) }
DeletedAccountsServer is a fake server for instances of the armcognitiveservices.DeletedAccountsClient type.
type DeletedAccountsServerTransport ¶
type DeletedAccountsServerTransport struct {
// contains filtered or unexported fields
}
DeletedAccountsServerTransport connects instances of armcognitiveservices.DeletedAccountsClient to instances of DeletedAccountsServer. Don't use this type directly, use NewDeletedAccountsServerTransport instead.
func NewDeletedAccountsServerTransport ¶
func NewDeletedAccountsServerTransport(srv *DeletedAccountsServer) *DeletedAccountsServerTransport
NewDeletedAccountsServerTransport creates a new instance of DeletedAccountsServerTransport with the provided implementation. The returned DeletedAccountsServerTransport instance is connected to an instance of armcognitiveservices.DeletedAccountsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DeploymentsServer ¶
type DeploymentsServer struct { // BeginCreateOrUpdate is the fake for method DeploymentsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, deploymentName string, deployment armcognitiveservices.Deployment, options *armcognitiveservices.DeploymentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcognitiveservices.DeploymentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method DeploymentsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, deploymentName string, options *armcognitiveservices.DeploymentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.DeploymentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method DeploymentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, deploymentName string, options *armcognitiveservices.DeploymentsClientGetOptions) (resp azfake.Responder[armcognitiveservices.DeploymentsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DeploymentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.DeploymentsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.DeploymentsClientListResponse]) // NewListSKUsPager is the fake for method DeploymentsClient.NewListSKUsPager // HTTP status codes to indicate success: http.StatusOK NewListSKUsPager func(resourceGroupName string, accountName string, deploymentName string, options *armcognitiveservices.DeploymentsClientListSKUsOptions) (resp azfake.PagerResponder[armcognitiveservices.DeploymentsClientListSKUsResponse]) // BeginUpdate is the fake for method DeploymentsClient.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, accountName string, deploymentName string, deployment armcognitiveservices.PatchResourceTagsAndSKU, options *armcognitiveservices.DeploymentsClientBeginUpdateOptions) (resp azfake.PollerResponder[armcognitiveservices.DeploymentsClientUpdateResponse], errResp azfake.ErrorResponder) }
DeploymentsServer is a fake server for instances of the armcognitiveservices.DeploymentsClient type.
type DeploymentsServerTransport ¶
type DeploymentsServerTransport struct {
// contains filtered or unexported fields
}
DeploymentsServerTransport connects instances of armcognitiveservices.DeploymentsClient to instances of DeploymentsServer. Don't use this type directly, use NewDeploymentsServerTransport instead.
func NewDeploymentsServerTransport ¶
func NewDeploymentsServerTransport(srv *DeploymentsServer) *DeploymentsServerTransport
NewDeploymentsServerTransport creates a new instance of DeploymentsServerTransport with the provided implementation. The returned DeploymentsServerTransport instance is connected to an instance of armcognitiveservices.DeploymentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EncryptionScopesServer ¶ added in v1.7.0
type EncryptionScopesServer struct { // CreateOrUpdate is the fake for method EncryptionScopesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, encryptionScope armcognitiveservices.EncryptionScope, options *armcognitiveservices.EncryptionScopesClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.EncryptionScopesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method EncryptionScopesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, options *armcognitiveservices.EncryptionScopesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.EncryptionScopesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EncryptionScopesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, encryptionScopeName string, options *armcognitiveservices.EncryptionScopesClientGetOptions) (resp azfake.Responder[armcognitiveservices.EncryptionScopesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EncryptionScopesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.EncryptionScopesClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.EncryptionScopesClientListResponse]) }
EncryptionScopesServer is a fake server for instances of the armcognitiveservices.EncryptionScopesClient type.
type EncryptionScopesServerTransport ¶ added in v1.7.0
type EncryptionScopesServerTransport struct {
// contains filtered or unexported fields
}
EncryptionScopesServerTransport connects instances of armcognitiveservices.EncryptionScopesClient to instances of EncryptionScopesServer. Don't use this type directly, use NewEncryptionScopesServerTransport instead.
func NewEncryptionScopesServerTransport ¶ added in v1.7.0
func NewEncryptionScopesServerTransport(srv *EncryptionScopesServer) *EncryptionScopesServerTransport
NewEncryptionScopesServerTransport creates a new instance of EncryptionScopesServerTransport with the provided implementation. The returned EncryptionScopesServerTransport instance is connected to an instance of armcognitiveservices.EncryptionScopesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type LocationBasedModelCapacitiesServer ¶ added in v1.7.0
type LocationBasedModelCapacitiesServer struct { // NewListPager is the fake for method LocationBasedModelCapacitiesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, modelFormat string, modelName string, modelVersion string, options *armcognitiveservices.LocationBasedModelCapacitiesClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.LocationBasedModelCapacitiesClientListResponse]) }
LocationBasedModelCapacitiesServer is a fake server for instances of the armcognitiveservices.LocationBasedModelCapacitiesClient type.
type LocationBasedModelCapacitiesServerTransport ¶ added in v1.7.0
type LocationBasedModelCapacitiesServerTransport struct {
// contains filtered or unexported fields
}
LocationBasedModelCapacitiesServerTransport connects instances of armcognitiveservices.LocationBasedModelCapacitiesClient to instances of LocationBasedModelCapacitiesServer. Don't use this type directly, use NewLocationBasedModelCapacitiesServerTransport instead.
func NewLocationBasedModelCapacitiesServerTransport ¶ added in v1.7.0
func NewLocationBasedModelCapacitiesServerTransport(srv *LocationBasedModelCapacitiesServer) *LocationBasedModelCapacitiesServerTransport
NewLocationBasedModelCapacitiesServerTransport creates a new instance of LocationBasedModelCapacitiesServerTransport with the provided implementation. The returned LocationBasedModelCapacitiesServerTransport instance is connected to an instance of armcognitiveservices.LocationBasedModelCapacitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ManagementServer ¶
type ManagementServer struct { // CalculateModelCapacity is the fake for method ManagementClient.CalculateModelCapacity // HTTP status codes to indicate success: http.StatusOK CalculateModelCapacity func(ctx context.Context, parameters armcognitiveservices.CalculateModelCapacityParameter, options *armcognitiveservices.ManagementClientCalculateModelCapacityOptions) (resp azfake.Responder[armcognitiveservices.ManagementClientCalculateModelCapacityResponse], errResp azfake.ErrorResponder) // CheckDomainAvailability is the fake for method ManagementClient.CheckDomainAvailability // HTTP status codes to indicate success: http.StatusOK CheckDomainAvailability func(ctx context.Context, parameters armcognitiveservices.CheckDomainAvailabilityParameter, options *armcognitiveservices.ManagementClientCheckDomainAvailabilityOptions) (resp azfake.Responder[armcognitiveservices.ManagementClientCheckDomainAvailabilityResponse], errResp azfake.ErrorResponder) // CheckSKUAvailability is the fake for method ManagementClient.CheckSKUAvailability // HTTP status codes to indicate success: http.StatusOK CheckSKUAvailability func(ctx context.Context, location string, parameters armcognitiveservices.CheckSKUAvailabilityParameter, options *armcognitiveservices.ManagementClientCheckSKUAvailabilityOptions) (resp azfake.Responder[armcognitiveservices.ManagementClientCheckSKUAvailabilityResponse], errResp azfake.ErrorResponder) }
ManagementServer is a fake server for instances of the armcognitiveservices.ManagementClient type.
type ManagementServerTransport ¶
type ManagementServerTransport struct {
// contains filtered or unexported fields
}
ManagementServerTransport connects instances of armcognitiveservices.ManagementClient to instances of ManagementServer. Don't use this type directly, use NewManagementServerTransport instead.
func NewManagementServerTransport ¶
func NewManagementServerTransport(srv *ManagementServer) *ManagementServerTransport
NewManagementServerTransport creates a new instance of ManagementServerTransport with the provided implementation. The returned ManagementServerTransport instance is connected to an instance of armcognitiveservices.ManagementClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ModelCapacitiesServer ¶ added in v1.7.0
type ModelCapacitiesServer struct { // NewListPager is the fake for method ModelCapacitiesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(modelFormat string, modelName string, modelVersion string, options *armcognitiveservices.ModelCapacitiesClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.ModelCapacitiesClientListResponse]) }
ModelCapacitiesServer is a fake server for instances of the armcognitiveservices.ModelCapacitiesClient type.
type ModelCapacitiesServerTransport ¶ added in v1.7.0
type ModelCapacitiesServerTransport struct {
// contains filtered or unexported fields
}
ModelCapacitiesServerTransport connects instances of armcognitiveservices.ModelCapacitiesClient to instances of ModelCapacitiesServer. Don't use this type directly, use NewModelCapacitiesServerTransport instead.
func NewModelCapacitiesServerTransport ¶ added in v1.7.0
func NewModelCapacitiesServerTransport(srv *ModelCapacitiesServer) *ModelCapacitiesServerTransport
NewModelCapacitiesServerTransport creates a new instance of ModelCapacitiesServerTransport with the provided implementation. The returned ModelCapacitiesServerTransport instance is connected to an instance of armcognitiveservices.ModelCapacitiesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ModelsServer ¶
type ModelsServer struct { // NewListPager is the fake for method ModelsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armcognitiveservices.ModelsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.ModelsClientListResponse]) }
ModelsServer is a fake server for instances of the armcognitiveservices.ModelsClient type.
type ModelsServerTransport ¶
type ModelsServerTransport struct {
// contains filtered or unexported fields
}
ModelsServerTransport connects instances of armcognitiveservices.ModelsClient to instances of ModelsServer. Don't use this type directly, use NewModelsServerTransport instead.
func NewModelsServerTransport ¶
func NewModelsServerTransport(srv *ModelsServer) *ModelsServerTransport
NewModelsServerTransport creates a new instance of ModelsServerTransport with the provided implementation. The returned ModelsServerTransport instance is connected to an instance of armcognitiveservices.ModelsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type NetworkSecurityPerimeterConfigurationsServer ¶ added in v1.7.0
type NetworkSecurityPerimeterConfigurationsServer struct { // Get is the fake for method NetworkSecurityPerimeterConfigurationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, nspConfigurationName string, options *armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientGetOptions) (resp azfake.Responder[armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method NetworkSecurityPerimeterConfigurationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientListResponse]) // BeginReconcile is the fake for method NetworkSecurityPerimeterConfigurationsClient.BeginReconcile // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginReconcile func(ctx context.Context, resourceGroupName string, accountName string, nspConfigurationName string, options *armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (resp azfake.PollerResponder[armcognitiveservices.NetworkSecurityPerimeterConfigurationsClientReconcileResponse], errResp azfake.ErrorResponder) }
NetworkSecurityPerimeterConfigurationsServer is a fake server for instances of the armcognitiveservices.NetworkSecurityPerimeterConfigurationsClient type.
type NetworkSecurityPerimeterConfigurationsServerTransport ¶ added in v1.7.0
type NetworkSecurityPerimeterConfigurationsServerTransport struct {
// contains filtered or unexported fields
}
NetworkSecurityPerimeterConfigurationsServerTransport connects instances of armcognitiveservices.NetworkSecurityPerimeterConfigurationsClient to instances of NetworkSecurityPerimeterConfigurationsServer. Don't use this type directly, use NewNetworkSecurityPerimeterConfigurationsServerTransport instead.
func NewNetworkSecurityPerimeterConfigurationsServerTransport ¶ added in v1.7.0
func NewNetworkSecurityPerimeterConfigurationsServerTransport(srv *NetworkSecurityPerimeterConfigurationsServer) *NetworkSecurityPerimeterConfigurationsServerTransport
NewNetworkSecurityPerimeterConfigurationsServerTransport creates a new instance of NetworkSecurityPerimeterConfigurationsServerTransport with the provided implementation. The returned NetworkSecurityPerimeterConfigurationsServerTransport instance is connected to an instance of armcognitiveservices.NetworkSecurityPerimeterConfigurationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // NewListPager is the fake for method OperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcognitiveservices.OperationsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armcognitiveservices.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armcognitiveservices.OperationsClient to instances of OperationsServer. Don't use this type directly, use NewOperationsServerTransport instead.
func NewOperationsServerTransport ¶
func NewOperationsServerTransport(srv *OperationsServer) *OperationsServerTransport
NewOperationsServerTransport creates a new instance of OperationsServerTransport with the provided implementation. The returned OperationsServerTransport instance is connected to an instance of armcognitiveservices.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateEndpointConnectionsServer ¶
type PrivateEndpointConnectionsServer struct { // BeginCreateOrUpdate is the fake for method PrivateEndpointConnectionsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, properties armcognitiveservices.PrivateEndpointConnection, options *armcognitiveservices.PrivateEndpointConnectionsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armcognitiveservices.PrivateEndpointConnectionsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method PrivateEndpointConnectionsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armcognitiveservices.PrivateEndpointConnectionsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.PrivateEndpointConnectionsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PrivateEndpointConnectionsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *armcognitiveservices.PrivateEndpointConnectionsClientGetOptions) (resp azfake.Responder[armcognitiveservices.PrivateEndpointConnectionsClientGetResponse], errResp azfake.ErrorResponder) // List is the fake for method PrivateEndpointConnectionsClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.PrivateEndpointConnectionsClientListOptions) (resp azfake.Responder[armcognitiveservices.PrivateEndpointConnectionsClientListResponse], errResp azfake.ErrorResponder) }
PrivateEndpointConnectionsServer is a fake server for instances of the armcognitiveservices.PrivateEndpointConnectionsClient type.
type PrivateEndpointConnectionsServerTransport ¶
type PrivateEndpointConnectionsServerTransport struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsServerTransport connects instances of armcognitiveservices.PrivateEndpointConnectionsClient to instances of PrivateEndpointConnectionsServer. Don't use this type directly, use NewPrivateEndpointConnectionsServerTransport instead.
func NewPrivateEndpointConnectionsServerTransport ¶
func NewPrivateEndpointConnectionsServerTransport(srv *PrivateEndpointConnectionsServer) *PrivateEndpointConnectionsServerTransport
NewPrivateEndpointConnectionsServerTransport creates a new instance of PrivateEndpointConnectionsServerTransport with the provided implementation. The returned PrivateEndpointConnectionsServerTransport instance is connected to an instance of armcognitiveservices.PrivateEndpointConnectionsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PrivateLinkResourcesServer ¶
type PrivateLinkResourcesServer struct { // List is the fake for method PrivateLinkResourcesClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceGroupName string, accountName string, options *armcognitiveservices.PrivateLinkResourcesClientListOptions) (resp azfake.Responder[armcognitiveservices.PrivateLinkResourcesClientListResponse], errResp azfake.ErrorResponder) }
PrivateLinkResourcesServer is a fake server for instances of the armcognitiveservices.PrivateLinkResourcesClient type.
type PrivateLinkResourcesServerTransport ¶
type PrivateLinkResourcesServerTransport struct {
// contains filtered or unexported fields
}
PrivateLinkResourcesServerTransport connects instances of armcognitiveservices.PrivateLinkResourcesClient to instances of PrivateLinkResourcesServer. Don't use this type directly, use NewPrivateLinkResourcesServerTransport instead.
func NewPrivateLinkResourcesServerTransport ¶
func NewPrivateLinkResourcesServerTransport(srv *PrivateLinkResourcesServer) *PrivateLinkResourcesServerTransport
NewPrivateLinkResourcesServerTransport creates a new instance of PrivateLinkResourcesServerTransport with the provided implementation. The returned PrivateLinkResourcesServerTransport instance is connected to an instance of armcognitiveservices.PrivateLinkResourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type RaiBlocklistItemsServer ¶ added in v1.7.0
type RaiBlocklistItemsServer struct { // BatchAdd is the fake for method RaiBlocklistItemsClient.BatchAdd // HTTP status codes to indicate success: http.StatusOK BatchAdd func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItems []*armcognitiveservices.RaiBlocklistItemBulkRequest, options *armcognitiveservices.RaiBlocklistItemsClientBatchAddOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistItemsClientBatchAddResponse], errResp azfake.ErrorResponder) // BatchDelete is the fake for method RaiBlocklistItemsClient.BatchDelete // HTTP status codes to indicate success: http.StatusNoContent BatchDelete func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItemsNames any, options *armcognitiveservices.RaiBlocklistItemsClientBatchDeleteOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistItemsClientBatchDeleteResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method RaiBlocklistItemsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItemName string, raiBlocklistItem armcognitiveservices.RaiBlocklistItem, options *armcognitiveservices.RaiBlocklistItemsClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistItemsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method RaiBlocklistItemsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItemName string, options *armcognitiveservices.RaiBlocklistItemsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.RaiBlocklistItemsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method RaiBlocklistItemsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklistItemName string, options *armcognitiveservices.RaiBlocklistItemsClientGetOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistItemsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method RaiBlocklistItemsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, raiBlocklistName string, options *armcognitiveservices.RaiBlocklistItemsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.RaiBlocklistItemsClientListResponse]) }
RaiBlocklistItemsServer is a fake server for instances of the armcognitiveservices.RaiBlocklistItemsClient type.
type RaiBlocklistItemsServerTransport ¶ added in v1.7.0
type RaiBlocklistItemsServerTransport struct {
// contains filtered or unexported fields
}
RaiBlocklistItemsServerTransport connects instances of armcognitiveservices.RaiBlocklistItemsClient to instances of RaiBlocklistItemsServer. Don't use this type directly, use NewRaiBlocklistItemsServerTransport instead.
func NewRaiBlocklistItemsServerTransport ¶ added in v1.7.0
func NewRaiBlocklistItemsServerTransport(srv *RaiBlocklistItemsServer) *RaiBlocklistItemsServerTransport
NewRaiBlocklistItemsServerTransport creates a new instance of RaiBlocklistItemsServerTransport with the provided implementation. The returned RaiBlocklistItemsServerTransport instance is connected to an instance of armcognitiveservices.RaiBlocklistItemsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type RaiBlocklistsServer ¶ added in v1.7.0
type RaiBlocklistsServer struct { // CreateOrUpdate is the fake for method RaiBlocklistsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, raiBlocklist armcognitiveservices.RaiBlocklist, options *armcognitiveservices.RaiBlocklistsClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method RaiBlocklistsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, options *armcognitiveservices.RaiBlocklistsClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.RaiBlocklistsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method RaiBlocklistsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, raiBlocklistName string, options *armcognitiveservices.RaiBlocklistsClientGetOptions) (resp azfake.Responder[armcognitiveservices.RaiBlocklistsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method RaiBlocklistsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.RaiBlocklistsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.RaiBlocklistsClientListResponse]) }
RaiBlocklistsServer is a fake server for instances of the armcognitiveservices.RaiBlocklistsClient type.
type RaiBlocklistsServerTransport ¶ added in v1.7.0
type RaiBlocklistsServerTransport struct {
// contains filtered or unexported fields
}
RaiBlocklistsServerTransport connects instances of armcognitiveservices.RaiBlocklistsClient to instances of RaiBlocklistsServer. Don't use this type directly, use NewRaiBlocklistsServerTransport instead.
func NewRaiBlocklistsServerTransport ¶ added in v1.7.0
func NewRaiBlocklistsServerTransport(srv *RaiBlocklistsServer) *RaiBlocklistsServerTransport
NewRaiBlocklistsServerTransport creates a new instance of RaiBlocklistsServerTransport with the provided implementation. The returned RaiBlocklistsServerTransport instance is connected to an instance of armcognitiveservices.RaiBlocklistsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type RaiContentFiltersServer ¶ added in v1.7.0
type RaiContentFiltersServer struct { // Get is the fake for method RaiContentFiltersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, location string, filterName string, options *armcognitiveservices.RaiContentFiltersClientGetOptions) (resp azfake.Responder[armcognitiveservices.RaiContentFiltersClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method RaiContentFiltersClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armcognitiveservices.RaiContentFiltersClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.RaiContentFiltersClientListResponse]) }
RaiContentFiltersServer is a fake server for instances of the armcognitiveservices.RaiContentFiltersClient type.
type RaiContentFiltersServerTransport ¶ added in v1.7.0
type RaiContentFiltersServerTransport struct {
// contains filtered or unexported fields
}
RaiContentFiltersServerTransport connects instances of armcognitiveservices.RaiContentFiltersClient to instances of RaiContentFiltersServer. Don't use this type directly, use NewRaiContentFiltersServerTransport instead.
func NewRaiContentFiltersServerTransport ¶ added in v1.7.0
func NewRaiContentFiltersServerTransport(srv *RaiContentFiltersServer) *RaiContentFiltersServerTransport
NewRaiContentFiltersServerTransport creates a new instance of RaiContentFiltersServerTransport with the provided implementation. The returned RaiContentFiltersServerTransport instance is connected to an instance of armcognitiveservices.RaiContentFiltersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type RaiPoliciesServer ¶ added in v1.7.0
type RaiPoliciesServer struct { // CreateOrUpdate is the fake for method RaiPoliciesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, accountName string, raiPolicyName string, raiPolicy armcognitiveservices.RaiPolicy, options *armcognitiveservices.RaiPoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armcognitiveservices.RaiPoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method RaiPoliciesClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, accountName string, raiPolicyName string, options *armcognitiveservices.RaiPoliciesClientBeginDeleteOptions) (resp azfake.PollerResponder[armcognitiveservices.RaiPoliciesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method RaiPoliciesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, accountName string, raiPolicyName string, options *armcognitiveservices.RaiPoliciesClientGetOptions) (resp azfake.Responder[armcognitiveservices.RaiPoliciesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method RaiPoliciesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, accountName string, options *armcognitiveservices.RaiPoliciesClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.RaiPoliciesClientListResponse]) }
RaiPoliciesServer is a fake server for instances of the armcognitiveservices.RaiPoliciesClient type.
type RaiPoliciesServerTransport ¶ added in v1.7.0
type RaiPoliciesServerTransport struct {
// contains filtered or unexported fields
}
RaiPoliciesServerTransport connects instances of armcognitiveservices.RaiPoliciesClient to instances of RaiPoliciesServer. Don't use this type directly, use NewRaiPoliciesServerTransport instead.
func NewRaiPoliciesServerTransport ¶ added in v1.7.0
func NewRaiPoliciesServerTransport(srv *RaiPoliciesServer) *RaiPoliciesServerTransport
NewRaiPoliciesServerTransport creates a new instance of RaiPoliciesServerTransport with the provided implementation. The returned RaiPoliciesServerTransport instance is connected to an instance of armcognitiveservices.RaiPoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceSKUsServer ¶
type ResourceSKUsServer struct { // NewListPager is the fake for method ResourceSKUsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armcognitiveservices.ResourceSKUsClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.ResourceSKUsClientListResponse]) }
ResourceSKUsServer is a fake server for instances of the armcognitiveservices.ResourceSKUsClient type.
type ResourceSKUsServerTransport ¶
type ResourceSKUsServerTransport struct {
// contains filtered or unexported fields
}
ResourceSKUsServerTransport connects instances of armcognitiveservices.ResourceSKUsClient to instances of ResourceSKUsServer. Don't use this type directly, use NewResourceSKUsServerTransport instead.
func NewResourceSKUsServerTransport ¶
func NewResourceSKUsServerTransport(srv *ResourceSKUsServer) *ResourceSKUsServerTransport
NewResourceSKUsServerTransport creates a new instance of ResourceSKUsServerTransport with the provided implementation. The returned ResourceSKUsServerTransport instance is connected to an instance of armcognitiveservices.ResourceSKUsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { AccountsServer AccountsServer CommitmentPlansServer CommitmentPlansServer CommitmentTiersServer CommitmentTiersServer DefenderForAISettingsServer DefenderForAISettingsServer DeletedAccountsServer DeletedAccountsServer DeploymentsServer DeploymentsServer EncryptionScopesServer EncryptionScopesServer LocationBasedModelCapacitiesServer LocationBasedModelCapacitiesServer ManagementServer ManagementServer ModelCapacitiesServer ModelCapacitiesServer ModelsServer ModelsServer NetworkSecurityPerimeterConfigurationsServer NetworkSecurityPerimeterConfigurationsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer RaiBlocklistItemsServer RaiBlocklistItemsServer RaiBlocklistsServer RaiBlocklistsServer RaiContentFiltersServer RaiContentFiltersServer RaiPoliciesServer RaiPoliciesServer ResourceSKUsServer ResourceSKUsServer UsagesServer UsagesServer }
ServerFactory is a fake server for instances of the armcognitiveservices.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armcognitiveservices.ClientFactory to instances of ServerFactory. Don't use this type directly, use NewServerFactoryTransport instead.
func NewServerFactoryTransport ¶
func NewServerFactoryTransport(srv *ServerFactory) *ServerFactoryTransport
NewServerFactoryTransport creates a new instance of ServerFactoryTransport with the provided implementation. The returned ServerFactoryTransport instance is connected to an instance of armcognitiveservices.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UsagesServer ¶
type UsagesServer struct { // NewListPager is the fake for method UsagesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(location string, options *armcognitiveservices.UsagesClientListOptions) (resp azfake.PagerResponder[armcognitiveservices.UsagesClientListResponse]) }
UsagesServer is a fake server for instances of the armcognitiveservices.UsagesClient type.
type UsagesServerTransport ¶
type UsagesServerTransport struct {
// contains filtered or unexported fields
}
UsagesServerTransport connects instances of armcognitiveservices.UsagesClient to instances of UsagesServer. Don't use this type directly, use NewUsagesServerTransport instead.
func NewUsagesServerTransport ¶
func NewUsagesServerTransport(srv *UsagesServer) *UsagesServerTransport
NewUsagesServerTransport creates a new instance of UsagesServerTransport with the provided implementation. The returned UsagesServerTransport instance is connected to an instance of armcognitiveservices.UsagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files ¶
- accounts_server.go
- commitmentplans_server.go
- commitmenttiers_server.go
- defenderforaisettings_server.go
- deletedaccounts_server.go
- deployments_server.go
- encryptionscopes_server.go
- internal.go
- locationbasedmodelcapacities_server.go
- management_server.go
- modelcapacities_server.go
- models_server.go
- networksecurityperimeterconfigurations_server.go
- operations_server.go
- privateendpointconnections_server.go
- privatelinkresources_server.go
- raiblocklistitems_server.go
- raiblocklists_server.go
- raicontentfilters_server.go
- raipolicies_server.go
- resourceskus_server.go
- server_factory.go
- time_rfc3339.go
- usages_server.go