Documentation ¶
Index ¶
- type AccountsServer
- type AccountsServerTransport
- type CommitmentPlansServer
- type CommitmentPlansServerTransport
- type CommitmentTiersServer
- type CommitmentTiersServerTransport
- type DeletedAccountsServer
- type DeletedAccountsServerTransport
- type DeploymentsServer
- type DeploymentsServerTransport
- type ManagementServer
- type ManagementServerTransport
- type ModelsServer
- type ModelsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PrivateEndpointConnectionsServer
- type PrivateEndpointConnectionsServerTransport
- type PrivateLinkResourcesServer
- type PrivateLinkResourcesServerTransport
- 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 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]) }
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 ManagementServer ¶
type ManagementServer struct { // 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 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 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 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 DeletedAccountsServer DeletedAccountsServer DeploymentsServer DeploymentsServer ManagementServer ManagementServer ModelsServer ModelsServer OperationsServer OperationsServer PrivateEndpointConnectionsServer PrivateEndpointConnectionsServer PrivateLinkResourcesServer PrivateLinkResourcesServer 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
- deletedaccounts_server.go
- deployments_server.go
- internal.go
- management_server.go
- models_server.go
- operations_server.go
- privateendpointconnections_server.go
- privatelinkresources_server.go
- resourceskus_server.go
- server_factory.go
- time_rfc3339.go
- usages_server.go