Documentation ¶
Index ¶
- type DeploymentOperationsServer
- type DeploymentOperationsServerTransport
- type DeploymentsServer
- type DeploymentsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type ProviderResourceTypesServer
- type ProviderResourceTypesServerTransport
- type ProvidersServer
- type ProvidersServerTransport
- type ResourceGroupsServer
- type ResourceGroupsServerTransport
- type Server
- type ServerFactory
- type ServerFactoryTransport
- type ServerTransport
- type TagsServer
- type TagsServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentOperationsServer ¶
type DeploymentOperationsServer struct { // Get is the fake for method DeploymentOperationsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, deploymentName string, operationID string, options *armresources.DeploymentOperationsClientGetOptions) (resp azfake.Responder[armresources.DeploymentOperationsClientGetResponse], errResp azfake.ErrorResponder) // GetAtManagementGroupScope is the fake for method DeploymentOperationsClient.GetAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK GetAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, operationID string, options *armresources.DeploymentOperationsClientGetAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.DeploymentOperationsClientGetAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // GetAtScope is the fake for method DeploymentOperationsClient.GetAtScope // HTTP status codes to indicate success: http.StatusOK GetAtScope func(ctx context.Context, scope string, deploymentName string, operationID string, options *armresources.DeploymentOperationsClientGetAtScopeOptions) (resp azfake.Responder[armresources.DeploymentOperationsClientGetAtScopeResponse], errResp azfake.ErrorResponder) // GetAtSubscriptionScope is the fake for method DeploymentOperationsClient.GetAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK GetAtSubscriptionScope func(ctx context.Context, deploymentName string, operationID string, options *armresources.DeploymentOperationsClientGetAtSubscriptionScopeOptions) (resp azfake.Responder[armresources.DeploymentOperationsClientGetAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // GetAtTenantScope is the fake for method DeploymentOperationsClient.GetAtTenantScope // HTTP status codes to indicate success: http.StatusOK GetAtTenantScope func(ctx context.Context, deploymentName string, operationID string, options *armresources.DeploymentOperationsClientGetAtTenantScopeOptions) (resp azfake.Responder[armresources.DeploymentOperationsClientGetAtTenantScopeResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DeploymentOperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, deploymentName string, options *armresources.DeploymentOperationsClientListOptions) (resp azfake.PagerResponder[armresources.DeploymentOperationsClientListResponse]) // NewListAtManagementGroupScopePager is the fake for method DeploymentOperationsClient.NewListAtManagementGroupScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtManagementGroupScopePager func(groupID string, deploymentName string, options *armresources.DeploymentOperationsClientListAtManagementGroupScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentOperationsClientListAtManagementGroupScopeResponse]) // NewListAtScopePager is the fake for method DeploymentOperationsClient.NewListAtScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtScopePager func(scope string, deploymentName string, options *armresources.DeploymentOperationsClientListAtScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentOperationsClientListAtScopeResponse]) // NewListAtSubscriptionScopePager is the fake for method DeploymentOperationsClient.NewListAtSubscriptionScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtSubscriptionScopePager func(deploymentName string, options *armresources.DeploymentOperationsClientListAtSubscriptionScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentOperationsClientListAtSubscriptionScopeResponse]) // NewListAtTenantScopePager is the fake for method DeploymentOperationsClient.NewListAtTenantScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtTenantScopePager func(deploymentName string, options *armresources.DeploymentOperationsClientListAtTenantScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentOperationsClientListAtTenantScopeResponse]) }
DeploymentOperationsServer is a fake server for instances of the armresources.DeploymentOperationsClient type.
type DeploymentOperationsServerTransport ¶
type DeploymentOperationsServerTransport struct {
// contains filtered or unexported fields
}
DeploymentOperationsServerTransport connects instances of armresources.DeploymentOperationsClient to instances of DeploymentOperationsServer. Don't use this type directly, use NewDeploymentOperationsServerTransport instead.
func NewDeploymentOperationsServerTransport ¶
func NewDeploymentOperationsServerTransport(srv *DeploymentOperationsServer) *DeploymentOperationsServerTransport
NewDeploymentOperationsServerTransport creates a new instance of DeploymentOperationsServerTransport with the provided implementation. The returned DeploymentOperationsServerTransport instance is connected to an instance of armresources.DeploymentOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DeploymentsServer ¶
type DeploymentsServer struct { // CalculateTemplateHash is the fake for method DeploymentsClient.CalculateTemplateHash // HTTP status codes to indicate success: http.StatusOK CalculateTemplateHash func(ctx context.Context, templateParam any, options *armresources.DeploymentsClientCalculateTemplateHashOptions) (resp azfake.Responder[armresources.DeploymentsClientCalculateTemplateHashResponse], errResp azfake.ErrorResponder) // Cancel is the fake for method DeploymentsClient.Cancel // HTTP status codes to indicate success: http.StatusNoContent Cancel func(ctx context.Context, resourceGroupName string, deploymentName string, options *armresources.DeploymentsClientCancelOptions) (resp azfake.Responder[armresources.DeploymentsClientCancelResponse], errResp azfake.ErrorResponder) // CancelAtManagementGroupScope is the fake for method DeploymentsClient.CancelAtManagementGroupScope // HTTP status codes to indicate success: http.StatusNoContent CancelAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, options *armresources.DeploymentsClientCancelAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCancelAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // CancelAtScope is the fake for method DeploymentsClient.CancelAtScope // HTTP status codes to indicate success: http.StatusNoContent CancelAtScope func(ctx context.Context, scope string, deploymentName string, options *armresources.DeploymentsClientCancelAtScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCancelAtScopeResponse], errResp azfake.ErrorResponder) // CancelAtSubscriptionScope is the fake for method DeploymentsClient.CancelAtSubscriptionScope // HTTP status codes to indicate success: http.StatusNoContent CancelAtSubscriptionScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientCancelAtSubscriptionScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCancelAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // CancelAtTenantScope is the fake for method DeploymentsClient.CancelAtTenantScope // HTTP status codes to indicate success: http.StatusNoContent CancelAtTenantScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientCancelAtTenantScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCancelAtTenantScopeResponse], errResp azfake.ErrorResponder) // CheckExistence is the fake for method DeploymentsClient.CheckExistence // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistence func(ctx context.Context, resourceGroupName string, deploymentName string, options *armresources.DeploymentsClientCheckExistenceOptions) (resp azfake.Responder[armresources.DeploymentsClientCheckExistenceResponse], errResp azfake.ErrorResponder) // CheckExistenceAtManagementGroupScope is the fake for method DeploymentsClient.CheckExistenceAtManagementGroupScope // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistenceAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, options *armresources.DeploymentsClientCheckExistenceAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCheckExistenceAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // CheckExistenceAtScope is the fake for method DeploymentsClient.CheckExistenceAtScope // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistenceAtScope func(ctx context.Context, scope string, deploymentName string, options *armresources.DeploymentsClientCheckExistenceAtScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCheckExistenceAtScopeResponse], errResp azfake.ErrorResponder) // CheckExistenceAtSubscriptionScope is the fake for method DeploymentsClient.CheckExistenceAtSubscriptionScope // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistenceAtSubscriptionScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientCheckExistenceAtSubscriptionScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCheckExistenceAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // CheckExistenceAtTenantScope is the fake for method DeploymentsClient.CheckExistenceAtTenantScope // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistenceAtTenantScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientCheckExistenceAtTenantScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientCheckExistenceAtTenantScopeResponse], errResp azfake.ErrorResponder) // 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, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateAtManagementGroupScope is the fake for method DeploymentsClient.BeginCreateOrUpdateAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdateAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, parameters armresources.ScopedDeployment, options *armresources.DeploymentsClientBeginCreateOrUpdateAtManagementGroupScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientCreateOrUpdateAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateAtScope is the fake for method DeploymentsClient.BeginCreateOrUpdateAtScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdateAtScope func(ctx context.Context, scope string, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginCreateOrUpdateAtScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientCreateOrUpdateAtScopeResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateAtSubscriptionScope is the fake for method DeploymentsClient.BeginCreateOrUpdateAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdateAtSubscriptionScope func(ctx context.Context, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginCreateOrUpdateAtSubscriptionScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateAtTenantScope is the fake for method DeploymentsClient.BeginCreateOrUpdateAtTenantScope // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdateAtTenantScope func(ctx context.Context, deploymentName string, parameters armresources.ScopedDeployment, options *armresources.DeploymentsClientBeginCreateOrUpdateAtTenantScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientCreateOrUpdateAtTenantScopeResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method DeploymentsClient.BeginDelete // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, deploymentName string, options *armresources.DeploymentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDeleteAtManagementGroupScope is the fake for method DeploymentsClient.BeginDeleteAtManagementGroupScope // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDeleteAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, options *armresources.DeploymentsClientBeginDeleteAtManagementGroupScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientDeleteAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // BeginDeleteAtScope is the fake for method DeploymentsClient.BeginDeleteAtScope // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDeleteAtScope func(ctx context.Context, scope string, deploymentName string, options *armresources.DeploymentsClientBeginDeleteAtScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientDeleteAtScopeResponse], errResp azfake.ErrorResponder) // BeginDeleteAtSubscriptionScope is the fake for method DeploymentsClient.BeginDeleteAtSubscriptionScope // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDeleteAtSubscriptionScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientBeginDeleteAtSubscriptionScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientDeleteAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // BeginDeleteAtTenantScope is the fake for method DeploymentsClient.BeginDeleteAtTenantScope // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginDeleteAtTenantScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientBeginDeleteAtTenantScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientDeleteAtTenantScopeResponse], errResp azfake.ErrorResponder) // ExportTemplate is the fake for method DeploymentsClient.ExportTemplate // HTTP status codes to indicate success: http.StatusOK ExportTemplate func(ctx context.Context, resourceGroupName string, deploymentName string, options *armresources.DeploymentsClientExportTemplateOptions) (resp azfake.Responder[armresources.DeploymentsClientExportTemplateResponse], errResp azfake.ErrorResponder) // ExportTemplateAtManagementGroupScope is the fake for method DeploymentsClient.ExportTemplateAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK ExportTemplateAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, options *armresources.DeploymentsClientExportTemplateAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientExportTemplateAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // ExportTemplateAtScope is the fake for method DeploymentsClient.ExportTemplateAtScope // HTTP status codes to indicate success: http.StatusOK ExportTemplateAtScope func(ctx context.Context, scope string, deploymentName string, options *armresources.DeploymentsClientExportTemplateAtScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientExportTemplateAtScopeResponse], errResp azfake.ErrorResponder) // ExportTemplateAtSubscriptionScope is the fake for method DeploymentsClient.ExportTemplateAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK ExportTemplateAtSubscriptionScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientExportTemplateAtSubscriptionScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientExportTemplateAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // ExportTemplateAtTenantScope is the fake for method DeploymentsClient.ExportTemplateAtTenantScope // HTTP status codes to indicate success: http.StatusOK ExportTemplateAtTenantScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientExportTemplateAtTenantScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientExportTemplateAtTenantScopeResponse], 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, deploymentName string, options *armresources.DeploymentsClientGetOptions) (resp azfake.Responder[armresources.DeploymentsClientGetResponse], errResp azfake.ErrorResponder) // GetAtManagementGroupScope is the fake for method DeploymentsClient.GetAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK GetAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, options *armresources.DeploymentsClientGetAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientGetAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // GetAtScope is the fake for method DeploymentsClient.GetAtScope // HTTP status codes to indicate success: http.StatusOK GetAtScope func(ctx context.Context, scope string, deploymentName string, options *armresources.DeploymentsClientGetAtScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientGetAtScopeResponse], errResp azfake.ErrorResponder) // GetAtSubscriptionScope is the fake for method DeploymentsClient.GetAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK GetAtSubscriptionScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientGetAtSubscriptionScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientGetAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // GetAtTenantScope is the fake for method DeploymentsClient.GetAtTenantScope // HTTP status codes to indicate success: http.StatusOK GetAtTenantScope func(ctx context.Context, deploymentName string, options *armresources.DeploymentsClientGetAtTenantScopeOptions) (resp azfake.Responder[armresources.DeploymentsClientGetAtTenantScopeResponse], errResp azfake.ErrorResponder) // NewListAtManagementGroupScopePager is the fake for method DeploymentsClient.NewListAtManagementGroupScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtManagementGroupScopePager func(groupID string, options *armresources.DeploymentsClientListAtManagementGroupScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentsClientListAtManagementGroupScopeResponse]) // NewListAtScopePager is the fake for method DeploymentsClient.NewListAtScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtScopePager func(scope string, options *armresources.DeploymentsClientListAtScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentsClientListAtScopeResponse]) // NewListAtSubscriptionScopePager is the fake for method DeploymentsClient.NewListAtSubscriptionScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtSubscriptionScopePager func(options *armresources.DeploymentsClientListAtSubscriptionScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentsClientListAtSubscriptionScopeResponse]) // NewListAtTenantScopePager is the fake for method DeploymentsClient.NewListAtTenantScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtTenantScopePager func(options *armresources.DeploymentsClientListAtTenantScopeOptions) (resp azfake.PagerResponder[armresources.DeploymentsClientListAtTenantScopeResponse]) // NewListByResourceGroupPager is the fake for method DeploymentsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armresources.DeploymentsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armresources.DeploymentsClientListByResourceGroupResponse]) // BeginValidate is the fake for method DeploymentsClient.BeginValidate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusBadRequest BeginValidate func(ctx context.Context, resourceGroupName string, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginValidateOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientValidateResponse], errResp azfake.ErrorResponder) // BeginValidateAtManagementGroupScope is the fake for method DeploymentsClient.BeginValidateAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusBadRequest BeginValidateAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, parameters armresources.ScopedDeployment, options *armresources.DeploymentsClientBeginValidateAtManagementGroupScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientValidateAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // BeginValidateAtScope is the fake for method DeploymentsClient.BeginValidateAtScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusBadRequest BeginValidateAtScope func(ctx context.Context, scope string, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginValidateAtScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientValidateAtScopeResponse], errResp azfake.ErrorResponder) // BeginValidateAtSubscriptionScope is the fake for method DeploymentsClient.BeginValidateAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusBadRequest BeginValidateAtSubscriptionScope func(ctx context.Context, deploymentName string, parameters armresources.Deployment, options *armresources.DeploymentsClientBeginValidateAtSubscriptionScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientValidateAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // BeginValidateAtTenantScope is the fake for method DeploymentsClient.BeginValidateAtTenantScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusBadRequest BeginValidateAtTenantScope func(ctx context.Context, deploymentName string, parameters armresources.ScopedDeployment, options *armresources.DeploymentsClientBeginValidateAtTenantScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientValidateAtTenantScopeResponse], errResp azfake.ErrorResponder) // BeginWhatIf is the fake for method DeploymentsClient.BeginWhatIf // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginWhatIf func(ctx context.Context, resourceGroupName string, deploymentName string, parameters armresources.DeploymentWhatIf, options *armresources.DeploymentsClientBeginWhatIfOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientWhatIfResponse], errResp azfake.ErrorResponder) // BeginWhatIfAtManagementGroupScope is the fake for method DeploymentsClient.BeginWhatIfAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginWhatIfAtManagementGroupScope func(ctx context.Context, groupID string, deploymentName string, parameters armresources.ScopedDeploymentWhatIf, options *armresources.DeploymentsClientBeginWhatIfAtManagementGroupScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientWhatIfAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // BeginWhatIfAtSubscriptionScope is the fake for method DeploymentsClient.BeginWhatIfAtSubscriptionScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginWhatIfAtSubscriptionScope func(ctx context.Context, deploymentName string, parameters armresources.DeploymentWhatIf, options *armresources.DeploymentsClientBeginWhatIfAtSubscriptionScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientWhatIfAtSubscriptionScopeResponse], errResp azfake.ErrorResponder) // BeginWhatIfAtTenantScope is the fake for method DeploymentsClient.BeginWhatIfAtTenantScope // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginWhatIfAtTenantScope func(ctx context.Context, deploymentName string, parameters armresources.ScopedDeploymentWhatIf, options *armresources.DeploymentsClientBeginWhatIfAtTenantScopeOptions) (resp azfake.PollerResponder[armresources.DeploymentsClientWhatIfAtTenantScopeResponse], errResp azfake.ErrorResponder) }
DeploymentsServer is a fake server for instances of the armresources.DeploymentsClient type.
type DeploymentsServerTransport ¶
type DeploymentsServerTransport struct {
// contains filtered or unexported fields
}
DeploymentsServerTransport connects instances of armresources.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 armresources.DeploymentsClient 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 *armresources.OperationsClientListOptions) (resp azfake.PagerResponder[armresources.OperationsClientListResponse]) }
OperationsServer is a fake server for instances of the armresources.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armresources.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 armresources.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProviderResourceTypesServer ¶
type ProviderResourceTypesServer struct { // List is the fake for method ProviderResourceTypesClient.List // HTTP status codes to indicate success: http.StatusOK List func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProviderResourceTypesClientListOptions) (resp azfake.Responder[armresources.ProviderResourceTypesClientListResponse], errResp azfake.ErrorResponder) }
ProviderResourceTypesServer is a fake server for instances of the armresources.ProviderResourceTypesClient type.
type ProviderResourceTypesServerTransport ¶
type ProviderResourceTypesServerTransport struct {
// contains filtered or unexported fields
}
ProviderResourceTypesServerTransport connects instances of armresources.ProviderResourceTypesClient to instances of ProviderResourceTypesServer. Don't use this type directly, use NewProviderResourceTypesServerTransport instead.
func NewProviderResourceTypesServerTransport ¶
func NewProviderResourceTypesServerTransport(srv *ProviderResourceTypesServer) *ProviderResourceTypesServerTransport
NewProviderResourceTypesServerTransport creates a new instance of ProviderResourceTypesServerTransport with the provided implementation. The returned ProviderResourceTypesServerTransport instance is connected to an instance of armresources.ProviderResourceTypesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProvidersServer ¶
type ProvidersServer struct { // Get is the fake for method ProvidersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProvidersClientGetOptions) (resp azfake.Responder[armresources.ProvidersClientGetResponse], errResp azfake.ErrorResponder) // GetAtTenantScope is the fake for method ProvidersClient.GetAtTenantScope // HTTP status codes to indicate success: http.StatusOK GetAtTenantScope func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProvidersClientGetAtTenantScopeOptions) (resp azfake.Responder[armresources.ProvidersClientGetAtTenantScopeResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ProvidersClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armresources.ProvidersClientListOptions) (resp azfake.PagerResponder[armresources.ProvidersClientListResponse]) // NewListAtTenantScopePager is the fake for method ProvidersClient.NewListAtTenantScopePager // HTTP status codes to indicate success: http.StatusOK NewListAtTenantScopePager func(options *armresources.ProvidersClientListAtTenantScopeOptions) (resp azfake.PagerResponder[armresources.ProvidersClientListAtTenantScopeResponse]) // ProviderPermissions is the fake for method ProvidersClient.ProviderPermissions // HTTP status codes to indicate success: http.StatusOK ProviderPermissions func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProvidersClientProviderPermissionsOptions) (resp azfake.Responder[armresources.ProvidersClientProviderPermissionsResponse], errResp azfake.ErrorResponder) // Register is the fake for method ProvidersClient.Register // HTTP status codes to indicate success: http.StatusOK Register func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProvidersClientRegisterOptions) (resp azfake.Responder[armresources.ProvidersClientRegisterResponse], errResp azfake.ErrorResponder) // RegisterAtManagementGroupScope is the fake for method ProvidersClient.RegisterAtManagementGroupScope // HTTP status codes to indicate success: http.StatusOK RegisterAtManagementGroupScope func(ctx context.Context, resourceProviderNamespace string, groupID string, options *armresources.ProvidersClientRegisterAtManagementGroupScopeOptions) (resp azfake.Responder[armresources.ProvidersClientRegisterAtManagementGroupScopeResponse], errResp azfake.ErrorResponder) // Unregister is the fake for method ProvidersClient.Unregister // HTTP status codes to indicate success: http.StatusOK Unregister func(ctx context.Context, resourceProviderNamespace string, options *armresources.ProvidersClientUnregisterOptions) (resp azfake.Responder[armresources.ProvidersClientUnregisterResponse], errResp azfake.ErrorResponder) }
ProvidersServer is a fake server for instances of the armresources.ProvidersClient type.
type ProvidersServerTransport ¶
type ProvidersServerTransport struct {
// contains filtered or unexported fields
}
ProvidersServerTransport connects instances of armresources.ProvidersClient to instances of ProvidersServer. Don't use this type directly, use NewProvidersServerTransport instead.
func NewProvidersServerTransport ¶
func NewProvidersServerTransport(srv *ProvidersServer) *ProvidersServerTransport
NewProvidersServerTransport creates a new instance of ProvidersServerTransport with the provided implementation. The returned ProvidersServerTransport instance is connected to an instance of armresources.ProvidersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ResourceGroupsServer ¶
type ResourceGroupsServer struct { // CheckExistence is the fake for method ResourceGroupsClient.CheckExistence // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistence func(ctx context.Context, resourceGroupName string, options *armresources.ResourceGroupsClientCheckExistenceOptions) (resp azfake.Responder[armresources.ResourceGroupsClientCheckExistenceResponse], errResp azfake.ErrorResponder) // CreateOrUpdate is the fake for method ResourceGroupsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, parameters armresources.ResourceGroup, options *armresources.ResourceGroupsClientCreateOrUpdateOptions) (resp azfake.Responder[armresources.ResourceGroupsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ResourceGroupsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDelete func(ctx context.Context, resourceGroupName string, options *armresources.ResourceGroupsClientBeginDeleteOptions) (resp azfake.PollerResponder[armresources.ResourceGroupsClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExportTemplate is the fake for method ResourceGroupsClient.BeginExportTemplate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExportTemplate func(ctx context.Context, resourceGroupName string, parameters armresources.ExportTemplateRequest, options *armresources.ResourceGroupsClientBeginExportTemplateOptions) (resp azfake.PollerResponder[armresources.ResourceGroupsClientExportTemplateResponse], errResp azfake.ErrorResponder) // Get is the fake for method ResourceGroupsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, options *armresources.ResourceGroupsClientGetOptions) (resp azfake.Responder[armresources.ResourceGroupsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ResourceGroupsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armresources.ResourceGroupsClientListOptions) (resp azfake.PagerResponder[armresources.ResourceGroupsClientListResponse]) // Update is the fake for method ResourceGroupsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, parameters armresources.ResourceGroupPatchable, options *armresources.ResourceGroupsClientUpdateOptions) (resp azfake.Responder[armresources.ResourceGroupsClientUpdateResponse], errResp azfake.ErrorResponder) }
ResourceGroupsServer is a fake server for instances of the armresources.ResourceGroupsClient type.
type ResourceGroupsServerTransport ¶
type ResourceGroupsServerTransport struct {
// contains filtered or unexported fields
}
ResourceGroupsServerTransport connects instances of armresources.ResourceGroupsClient to instances of ResourceGroupsServer. Don't use this type directly, use NewResourceGroupsServerTransport instead.
func NewResourceGroupsServerTransport ¶
func NewResourceGroupsServerTransport(srv *ResourceGroupsServer) *ResourceGroupsServerTransport
NewResourceGroupsServerTransport creates a new instance of ResourceGroupsServerTransport with the provided implementation. The returned ResourceGroupsServerTransport instance is connected to an instance of armresources.ResourceGroupsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type Server ¶
type Server struct { // CheckExistence is the fake for method Client.CheckExistence // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistence func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *armresources.ClientCheckExistenceOptions) (resp azfake.Responder[armresources.ClientCheckExistenceResponse], errResp azfake.ErrorResponder) // CheckExistenceByID is the fake for method Client.CheckExistenceByID // HTTP status codes to indicate success: http.StatusNoContent, http.StatusNotFound CheckExistenceByID func(ctx context.Context, resourceID string, apiVersion string, options *armresources.ClientCheckExistenceByIDOptions) (resp azfake.Responder[armresources.ClientCheckExistenceByIDResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method Client.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters armresources.GenericResource, options *armresources.ClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armresources.ClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdateByID is the fake for method Client.BeginCreateOrUpdateByID // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated, http.StatusAccepted BeginCreateOrUpdateByID func(ctx context.Context, resourceID string, apiVersion string, parameters armresources.GenericResource, options *armresources.ClientBeginCreateOrUpdateByIDOptions) (resp azfake.PollerResponder[armresources.ClientCreateOrUpdateByIDResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method Client.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *armresources.ClientBeginDeleteOptions) (resp azfake.PollerResponder[armresources.ClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDeleteByID is the fake for method Client.BeginDeleteByID // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDeleteByID func(ctx context.Context, resourceID string, apiVersion string, options *armresources.ClientBeginDeleteByIDOptions) (resp azfake.PollerResponder[armresources.ClientDeleteByIDResponse], errResp azfake.ErrorResponder) // Get is the fake for method Client.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, options *armresources.ClientGetOptions) (resp azfake.Responder[armresources.ClientGetResponse], errResp azfake.ErrorResponder) // GetByID is the fake for method Client.GetByID // HTTP status codes to indicate success: http.StatusOK GetByID func(ctx context.Context, resourceID string, apiVersion string, options *armresources.ClientGetByIDOptions) (resp azfake.Responder[armresources.ClientGetByIDResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method Client.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armresources.ClientListOptions) (resp azfake.PagerResponder[armresources.ClientListResponse]) // NewListByResourceGroupPager is the fake for method Client.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armresources.ClientListByResourceGroupOptions) (resp azfake.PagerResponder[armresources.ClientListByResourceGroupResponse]) // BeginMoveResources is the fake for method Client.BeginMoveResources // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginMoveResources func(ctx context.Context, sourceResourceGroupName string, parameters armresources.MoveInfo, options *armresources.ClientBeginMoveResourcesOptions) (resp azfake.PollerResponder[armresources.ClientMoveResourcesResponse], errResp azfake.ErrorResponder) // BeginUpdate is the fake for method Client.BeginUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdate func(ctx context.Context, resourceGroupName string, resourceProviderNamespace string, parentResourcePath string, resourceType string, resourceName string, apiVersion string, parameters armresources.GenericResource, options *armresources.ClientBeginUpdateOptions) (resp azfake.PollerResponder[armresources.ClientUpdateResponse], errResp azfake.ErrorResponder) // BeginUpdateByID is the fake for method Client.BeginUpdateByID // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUpdateByID func(ctx context.Context, resourceID string, apiVersion string, parameters armresources.GenericResource, options *armresources.ClientBeginUpdateByIDOptions) (resp azfake.PollerResponder[armresources.ClientUpdateByIDResponse], errResp azfake.ErrorResponder) // BeginValidateMoveResources is the fake for method Client.BeginValidateMoveResources // HTTP status codes to indicate success: http.StatusAccepted, http.StatusNoContent BeginValidateMoveResources func(ctx context.Context, sourceResourceGroupName string, parameters armresources.MoveInfo, options *armresources.ClientBeginValidateMoveResourcesOptions) (resp azfake.PollerResponder[armresources.ClientValidateMoveResourcesResponse], errResp azfake.ErrorResponder) }
Server is a fake server for instances of the armresources.Client type.
type ServerFactory ¶
type ServerFactory struct { Server Server DeploymentOperationsServer DeploymentOperationsServer DeploymentsServer DeploymentsServer OperationsServer OperationsServer ProviderResourceTypesServer ProviderResourceTypesServer ProvidersServer ProvidersServer ResourceGroupsServer ResourceGroupsServer TagsServer TagsServer }
ServerFactory is a fake server for instances of the armresources.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armresources.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 armresources.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerTransport ¶
type ServerTransport struct {
// contains filtered or unexported fields
}
ServerTransport connects instances of armresources.Client to instances of Server. Don't use this type directly, use NewServerTransport instead.
func NewServerTransport ¶
func NewServerTransport(srv *Server) *ServerTransport
NewServerTransport creates a new instance of ServerTransport with the provided implementation. The returned ServerTransport instance is connected to an instance of armresources.Client via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type TagsServer ¶
type TagsServer struct { // CreateOrUpdate is the fake for method TagsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, tagName string, options *armresources.TagsClientCreateOrUpdateOptions) (resp azfake.Responder[armresources.TagsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // CreateOrUpdateAtScope is the fake for method TagsClient.CreateOrUpdateAtScope // HTTP status codes to indicate success: http.StatusOK CreateOrUpdateAtScope func(ctx context.Context, scope string, parameters armresources.TagsResource, options *armresources.TagsClientCreateOrUpdateAtScopeOptions) (resp azfake.Responder[armresources.TagsClientCreateOrUpdateAtScopeResponse], errResp azfake.ErrorResponder) // CreateOrUpdateValue is the fake for method TagsClient.CreateOrUpdateValue // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdateValue func(ctx context.Context, tagName string, tagValue string, options *armresources.TagsClientCreateOrUpdateValueOptions) (resp azfake.Responder[armresources.TagsClientCreateOrUpdateValueResponse], errResp azfake.ErrorResponder) // Delete is the fake for method TagsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, tagName string, options *armresources.TagsClientDeleteOptions) (resp azfake.Responder[armresources.TagsClientDeleteResponse], errResp azfake.ErrorResponder) // DeleteAtScope is the fake for method TagsClient.DeleteAtScope // HTTP status codes to indicate success: http.StatusOK DeleteAtScope func(ctx context.Context, scope string, options *armresources.TagsClientDeleteAtScopeOptions) (resp azfake.Responder[armresources.TagsClientDeleteAtScopeResponse], errResp azfake.ErrorResponder) // DeleteValue is the fake for method TagsClient.DeleteValue // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent DeleteValue func(ctx context.Context, tagName string, tagValue string, options *armresources.TagsClientDeleteValueOptions) (resp azfake.Responder[armresources.TagsClientDeleteValueResponse], errResp azfake.ErrorResponder) // GetAtScope is the fake for method TagsClient.GetAtScope // HTTP status codes to indicate success: http.StatusOK GetAtScope func(ctx context.Context, scope string, options *armresources.TagsClientGetAtScopeOptions) (resp azfake.Responder[armresources.TagsClientGetAtScopeResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method TagsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armresources.TagsClientListOptions) (resp azfake.PagerResponder[armresources.TagsClientListResponse]) // UpdateAtScope is the fake for method TagsClient.UpdateAtScope // HTTP status codes to indicate success: http.StatusOK UpdateAtScope func(ctx context.Context, scope string, parameters armresources.TagsPatchResource, options *armresources.TagsClientUpdateAtScopeOptions) (resp azfake.Responder[armresources.TagsClientUpdateAtScopeResponse], errResp azfake.ErrorResponder) }
TagsServer is a fake server for instances of the armresources.TagsClient type.
type TagsServerTransport ¶
type TagsServerTransport struct {
// contains filtered or unexported fields
}
TagsServerTransport connects instances of armresources.TagsClient to instances of TagsServer. Don't use this type directly, use NewTagsServerTransport instead.
func NewTagsServerTransport ¶
func NewTagsServerTransport(srv *TagsServer) *TagsServerTransport
NewTagsServerTransport creates a new instance of TagsServerTransport with the provided implementation. The returned TagsServerTransport instance is connected to an instance of armresources.TagsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.