Documentation ¶
Index ¶
- type ArmTemplatesServer
- type ArmTemplatesServerTransport
- type ArtifactSourcesServer
- type ArtifactSourcesServerTransport
- type ArtifactsServer
- type ArtifactsServerTransport
- type CostsServer
- type CostsServerTransport
- type CustomImagesServer
- type CustomImagesServerTransport
- type DisksServer
- type DisksServerTransport
- type EnvironmentsServer
- type EnvironmentsServerTransport
- type FormulasServer
- type FormulasServerTransport
- type GalleryImagesServer
- type GalleryImagesServerTransport
- type GlobalSchedulesServer
- type GlobalSchedulesServerTransport
- type LabsServer
- type LabsServerTransport
- type NotificationChannelsServer
- type NotificationChannelsServerTransport
- type OperationsServer
- type OperationsServerTransport
- type PoliciesServer
- type PoliciesServerTransport
- type PolicySetsServer
- type PolicySetsServerTransport
- type ProviderOperationsServer
- type ProviderOperationsServerTransport
- type SchedulesServer
- type SchedulesServerTransport
- type SecretsServer
- type SecretsServerTransport
- type ServerFactory
- type ServerFactoryTransport
- type ServiceFabricSchedulesServer
- type ServiceFabricSchedulesServerTransport
- type ServiceFabricsServer
- type ServiceFabricsServerTransport
- type ServiceRunnersServer
- type ServiceRunnersServerTransport
- type UsersServer
- type UsersServerTransport
- type VirtualMachineSchedulesServer
- type VirtualMachineSchedulesServerTransport
- type VirtualMachinesServer
- type VirtualMachinesServerTransport
- type VirtualNetworksServer
- type VirtualNetworksServerTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArmTemplatesServer ¶
type ArmTemplatesServer struct { // Get is the fake for method ArmTemplatesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, options *armdevtestlabs.ArmTemplatesClientGetOptions) (resp azfake.Responder[armdevtestlabs.ArmTemplatesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ArmTemplatesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, artifactSourceName string, options *armdevtestlabs.ArmTemplatesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ArmTemplatesClientListResponse]) }
ArmTemplatesServer is a fake server for instances of the armdevtestlabs.ArmTemplatesClient type.
type ArmTemplatesServerTransport ¶
type ArmTemplatesServerTransport struct {
// contains filtered or unexported fields
}
ArmTemplatesServerTransport connects instances of armdevtestlabs.ArmTemplatesClient to instances of ArmTemplatesServer. Don't use this type directly, use NewArmTemplatesServerTransport instead.
func NewArmTemplatesServerTransport ¶
func NewArmTemplatesServerTransport(srv *ArmTemplatesServer) *ArmTemplatesServerTransport
NewArmTemplatesServerTransport creates a new instance of ArmTemplatesServerTransport with the provided implementation. The returned ArmTemplatesServerTransport instance is connected to an instance of armdevtestlabs.ArmTemplatesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ArtifactSourcesServer ¶
type ArtifactSourcesServer struct { // CreateOrUpdate is the fake for method ArtifactSourcesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource armdevtestlabs.ArtifactSource, options *armdevtestlabs.ArtifactSourcesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.ArtifactSourcesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ArtifactSourcesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.ArtifactSourcesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.ArtifactSourcesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ArtifactSourcesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.ArtifactSourcesClientGetOptions) (resp azfake.Responder[armdevtestlabs.ArtifactSourcesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ArtifactSourcesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.ArtifactSourcesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ArtifactSourcesClientListResponse]) // Update is the fake for method ArtifactSourcesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, artifactSource armdevtestlabs.ArtifactSourceFragment, options *armdevtestlabs.ArtifactSourcesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.ArtifactSourcesClientUpdateResponse], errResp azfake.ErrorResponder) }
ArtifactSourcesServer is a fake server for instances of the armdevtestlabs.ArtifactSourcesClient type.
type ArtifactSourcesServerTransport ¶
type ArtifactSourcesServerTransport struct {
// contains filtered or unexported fields
}
ArtifactSourcesServerTransport connects instances of armdevtestlabs.ArtifactSourcesClient to instances of ArtifactSourcesServer. Don't use this type directly, use NewArtifactSourcesServerTransport instead.
func NewArtifactSourcesServerTransport ¶
func NewArtifactSourcesServerTransport(srv *ArtifactSourcesServer) *ArtifactSourcesServerTransport
NewArtifactSourcesServerTransport creates a new instance of ArtifactSourcesServerTransport with the provided implementation. The returned ArtifactSourcesServerTransport instance is connected to an instance of armdevtestlabs.ArtifactSourcesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ArtifactsServer ¶
type ArtifactsServer struct { // GenerateArmTemplate is the fake for method ArtifactsClient.GenerateArmTemplate // HTTP status codes to indicate success: http.StatusOK GenerateArmTemplate func(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, generateArmTemplateRequest armdevtestlabs.GenerateArmTemplateRequest, options *armdevtestlabs.ArtifactsClientGenerateArmTemplateOptions) (resp azfake.Responder[armdevtestlabs.ArtifactsClientGenerateArmTemplateResponse], errResp azfake.ErrorResponder) // Get is the fake for method ArtifactsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, artifactSourceName string, name string, options *armdevtestlabs.ArtifactsClientGetOptions) (resp azfake.Responder[armdevtestlabs.ArtifactsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ArtifactsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, artifactSourceName string, options *armdevtestlabs.ArtifactsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ArtifactsClientListResponse]) }
ArtifactsServer is a fake server for instances of the armdevtestlabs.ArtifactsClient type.
type ArtifactsServerTransport ¶
type ArtifactsServerTransport struct {
// contains filtered or unexported fields
}
ArtifactsServerTransport connects instances of armdevtestlabs.ArtifactsClient to instances of ArtifactsServer. Don't use this type directly, use NewArtifactsServerTransport instead.
func NewArtifactsServerTransport ¶
func NewArtifactsServerTransport(srv *ArtifactsServer) *ArtifactsServerTransport
NewArtifactsServerTransport creates a new instance of ArtifactsServerTransport with the provided implementation. The returned ArtifactsServerTransport instance is connected to an instance of armdevtestlabs.ArtifactsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CostsServer ¶
type CostsServer struct { // CreateOrUpdate is the fake for method CostsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, labCost armdevtestlabs.LabCost, options *armdevtestlabs.CostsClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.CostsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Get is the fake for method CostsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.CostsClientGetOptions) (resp azfake.Responder[armdevtestlabs.CostsClientGetResponse], errResp azfake.ErrorResponder) }
CostsServer is a fake server for instances of the armdevtestlabs.CostsClient type.
type CostsServerTransport ¶
type CostsServerTransport struct {
// contains filtered or unexported fields
}
CostsServerTransport connects instances of armdevtestlabs.CostsClient to instances of CostsServer. Don't use this type directly, use NewCostsServerTransport instead.
func NewCostsServerTransport ¶
func NewCostsServerTransport(srv *CostsServer) *CostsServerTransport
NewCostsServerTransport creates a new instance of CostsServerTransport with the provided implementation. The returned CostsServerTransport instance is connected to an instance of armdevtestlabs.CostsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type CustomImagesServer ¶
type CustomImagesServer struct { // BeginCreateOrUpdate is the fake for method CustomImagesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, customImage armdevtestlabs.CustomImage, options *armdevtestlabs.CustomImagesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.CustomImagesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method CustomImagesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.CustomImagesClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.CustomImagesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method CustomImagesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.CustomImagesClientGetOptions) (resp azfake.Responder[armdevtestlabs.CustomImagesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method CustomImagesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.CustomImagesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.CustomImagesClientListResponse]) // Update is the fake for method CustomImagesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, customImage armdevtestlabs.CustomImageFragment, options *armdevtestlabs.CustomImagesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.CustomImagesClientUpdateResponse], errResp azfake.ErrorResponder) }
CustomImagesServer is a fake server for instances of the armdevtestlabs.CustomImagesClient type.
type CustomImagesServerTransport ¶
type CustomImagesServerTransport struct {
// contains filtered or unexported fields
}
CustomImagesServerTransport connects instances of armdevtestlabs.CustomImagesClient to instances of CustomImagesServer. Don't use this type directly, use NewCustomImagesServerTransport instead.
func NewCustomImagesServerTransport ¶
func NewCustomImagesServerTransport(srv *CustomImagesServer) *CustomImagesServerTransport
NewCustomImagesServerTransport creates a new instance of CustomImagesServerTransport with the provided implementation. The returned CustomImagesServerTransport instance is connected to an instance of armdevtestlabs.CustomImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type DisksServer ¶
type DisksServer struct { // BeginAttach is the fake for method DisksClient.BeginAttach // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginAttach func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, attachDiskProperties armdevtestlabs.AttachDiskProperties, options *armdevtestlabs.DisksClientBeginAttachOptions) (resp azfake.PollerResponder[armdevtestlabs.DisksClientAttachResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method DisksClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, disk armdevtestlabs.Disk, options *armdevtestlabs.DisksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.DisksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method DisksClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.DisksClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.DisksClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDetach is the fake for method DisksClient.BeginDetach // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDetach func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, detachDiskProperties armdevtestlabs.DetachDiskProperties, options *armdevtestlabs.DisksClientBeginDetachOptions) (resp azfake.PollerResponder[armdevtestlabs.DisksClientDetachResponse], errResp azfake.ErrorResponder) // Get is the fake for method DisksClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.DisksClientGetOptions) (resp azfake.Responder[armdevtestlabs.DisksClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method DisksClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, userName string, options *armdevtestlabs.DisksClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.DisksClientListResponse]) // Update is the fake for method DisksClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, disk armdevtestlabs.DiskFragment, options *armdevtestlabs.DisksClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.DisksClientUpdateResponse], errResp azfake.ErrorResponder) }
DisksServer is a fake server for instances of the armdevtestlabs.DisksClient type.
type DisksServerTransport ¶
type DisksServerTransport struct {
// contains filtered or unexported fields
}
DisksServerTransport connects instances of armdevtestlabs.DisksClient to instances of DisksServer. Don't use this type directly, use NewDisksServerTransport instead.
func NewDisksServerTransport ¶
func NewDisksServerTransport(srv *DisksServer) *DisksServerTransport
NewDisksServerTransport creates a new instance of DisksServerTransport with the provided implementation. The returned DisksServerTransport instance is connected to an instance of armdevtestlabs.DisksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type EnvironmentsServer ¶
type EnvironmentsServer struct { // BeginCreateOrUpdate is the fake for method EnvironmentsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, dtlEnvironment armdevtestlabs.DtlEnvironment, options *armdevtestlabs.EnvironmentsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.EnvironmentsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method EnvironmentsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.EnvironmentsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.EnvironmentsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method EnvironmentsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.EnvironmentsClientGetOptions) (resp azfake.Responder[armdevtestlabs.EnvironmentsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method EnvironmentsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, userName string, options *armdevtestlabs.EnvironmentsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.EnvironmentsClientListResponse]) // Update is the fake for method EnvironmentsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, dtlEnvironment armdevtestlabs.DtlEnvironmentFragment, options *armdevtestlabs.EnvironmentsClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.EnvironmentsClientUpdateResponse], errResp azfake.ErrorResponder) }
EnvironmentsServer is a fake server for instances of the armdevtestlabs.EnvironmentsClient type.
type EnvironmentsServerTransport ¶
type EnvironmentsServerTransport struct {
// contains filtered or unexported fields
}
EnvironmentsServerTransport connects instances of armdevtestlabs.EnvironmentsClient to instances of EnvironmentsServer. Don't use this type directly, use NewEnvironmentsServerTransport instead.
func NewEnvironmentsServerTransport ¶
func NewEnvironmentsServerTransport(srv *EnvironmentsServer) *EnvironmentsServerTransport
NewEnvironmentsServerTransport creates a new instance of EnvironmentsServerTransport with the provided implementation. The returned EnvironmentsServerTransport instance is connected to an instance of armdevtestlabs.EnvironmentsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type FormulasServer ¶
type FormulasServer struct { // BeginCreateOrUpdate is the fake for method FormulasClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, formula armdevtestlabs.Formula, options *armdevtestlabs.FormulasClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.FormulasClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method FormulasClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.FormulasClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.FormulasClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method FormulasClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.FormulasClientGetOptions) (resp azfake.Responder[armdevtestlabs.FormulasClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method FormulasClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.FormulasClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.FormulasClientListResponse]) // Update is the fake for method FormulasClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, formula armdevtestlabs.FormulaFragment, options *armdevtestlabs.FormulasClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.FormulasClientUpdateResponse], errResp azfake.ErrorResponder) }
FormulasServer is a fake server for instances of the armdevtestlabs.FormulasClient type.
type FormulasServerTransport ¶
type FormulasServerTransport struct {
// contains filtered or unexported fields
}
FormulasServerTransport connects instances of armdevtestlabs.FormulasClient to instances of FormulasServer. Don't use this type directly, use NewFormulasServerTransport instead.
func NewFormulasServerTransport ¶
func NewFormulasServerTransport(srv *FormulasServer) *FormulasServerTransport
NewFormulasServerTransport creates a new instance of FormulasServerTransport with the provided implementation. The returned FormulasServerTransport instance is connected to an instance of armdevtestlabs.FormulasClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GalleryImagesServer ¶
type GalleryImagesServer struct { // NewListPager is the fake for method GalleryImagesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.GalleryImagesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.GalleryImagesClientListResponse]) }
GalleryImagesServer is a fake server for instances of the armdevtestlabs.GalleryImagesClient type.
type GalleryImagesServerTransport ¶
type GalleryImagesServerTransport struct {
// contains filtered or unexported fields
}
GalleryImagesServerTransport connects instances of armdevtestlabs.GalleryImagesClient to instances of GalleryImagesServer. Don't use this type directly, use NewGalleryImagesServerTransport instead.
func NewGalleryImagesServerTransport ¶
func NewGalleryImagesServerTransport(srv *GalleryImagesServer) *GalleryImagesServerTransport
NewGalleryImagesServerTransport creates a new instance of GalleryImagesServerTransport with the provided implementation. The returned GalleryImagesServerTransport instance is connected to an instance of armdevtestlabs.GalleryImagesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type GlobalSchedulesServer ¶
type GlobalSchedulesServer struct { // CreateOrUpdate is the fake for method GlobalSchedulesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, name string, schedule armdevtestlabs.Schedule, options *armdevtestlabs.GlobalSchedulesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.GlobalSchedulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method GlobalSchedulesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.GlobalSchedulesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.GlobalSchedulesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExecute is the fake for method GlobalSchedulesClient.BeginExecute // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExecute func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.GlobalSchedulesClientBeginExecuteOptions) (resp azfake.PollerResponder[armdevtestlabs.GlobalSchedulesClientExecuteResponse], errResp azfake.ErrorResponder) // Get is the fake for method GlobalSchedulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.GlobalSchedulesClientGetOptions) (resp azfake.Responder[armdevtestlabs.GlobalSchedulesClientGetResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method GlobalSchedulesClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armdevtestlabs.GlobalSchedulesClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdevtestlabs.GlobalSchedulesClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method GlobalSchedulesClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armdevtestlabs.GlobalSchedulesClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdevtestlabs.GlobalSchedulesClientListBySubscriptionResponse]) // BeginRetarget is the fake for method GlobalSchedulesClient.BeginRetarget // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRetarget func(ctx context.Context, resourceGroupName string, name string, retargetScheduleProperties armdevtestlabs.RetargetScheduleProperties, options *armdevtestlabs.GlobalSchedulesClientBeginRetargetOptions) (resp azfake.PollerResponder[armdevtestlabs.GlobalSchedulesClientRetargetResponse], errResp azfake.ErrorResponder) // Update is the fake for method GlobalSchedulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, name string, schedule armdevtestlabs.ScheduleFragment, options *armdevtestlabs.GlobalSchedulesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.GlobalSchedulesClientUpdateResponse], errResp azfake.ErrorResponder) }
GlobalSchedulesServer is a fake server for instances of the armdevtestlabs.GlobalSchedulesClient type.
type GlobalSchedulesServerTransport ¶
type GlobalSchedulesServerTransport struct {
// contains filtered or unexported fields
}
GlobalSchedulesServerTransport connects instances of armdevtestlabs.GlobalSchedulesClient to instances of GlobalSchedulesServer. Don't use this type directly, use NewGlobalSchedulesServerTransport instead.
func NewGlobalSchedulesServerTransport ¶
func NewGlobalSchedulesServerTransport(srv *GlobalSchedulesServer) *GlobalSchedulesServerTransport
NewGlobalSchedulesServerTransport creates a new instance of GlobalSchedulesServerTransport with the provided implementation. The returned GlobalSchedulesServerTransport instance is connected to an instance of armdevtestlabs.GlobalSchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type LabsServer ¶
type LabsServer struct { // BeginClaimAnyVM is the fake for method LabsClient.BeginClaimAnyVM // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginClaimAnyVM func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.LabsClientBeginClaimAnyVMOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientClaimAnyVMResponse], errResp azfake.ErrorResponder) // BeginCreateEnvironment is the fake for method LabsClient.BeginCreateEnvironment // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginCreateEnvironment func(ctx context.Context, resourceGroupName string, name string, labVirtualMachineCreationParameter armdevtestlabs.LabVirtualMachineCreationParameter, options *armdevtestlabs.LabsClientBeginCreateEnvironmentOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientCreateEnvironmentResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method LabsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, name string, lab armdevtestlabs.Lab, options *armdevtestlabs.LabsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method LabsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.LabsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExportResourceUsage is the fake for method LabsClient.BeginExportResourceUsage // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExportResourceUsage func(ctx context.Context, resourceGroupName string, name string, exportResourceUsageParameters armdevtestlabs.ExportResourceUsageParameters, options *armdevtestlabs.LabsClientBeginExportResourceUsageOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientExportResourceUsageResponse], errResp azfake.ErrorResponder) // GenerateUploadURI is the fake for method LabsClient.GenerateUploadURI // HTTP status codes to indicate success: http.StatusOK GenerateUploadURI func(ctx context.Context, resourceGroupName string, name string, generateUploadURIParameter armdevtestlabs.GenerateUploadURIParameter, options *armdevtestlabs.LabsClientGenerateUploadURIOptions) (resp azfake.Responder[armdevtestlabs.LabsClientGenerateUploadURIResponse], errResp azfake.ErrorResponder) // Get is the fake for method LabsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, name string, options *armdevtestlabs.LabsClientGetOptions) (resp azfake.Responder[armdevtestlabs.LabsClientGetResponse], errResp azfake.ErrorResponder) // BeginImportVirtualMachine is the fake for method LabsClient.BeginImportVirtualMachine // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginImportVirtualMachine func(ctx context.Context, resourceGroupName string, name string, importLabVirtualMachineRequest armdevtestlabs.ImportLabVirtualMachineRequest, options *armdevtestlabs.LabsClientBeginImportVirtualMachineOptions) (resp azfake.PollerResponder[armdevtestlabs.LabsClientImportVirtualMachineResponse], errResp azfake.ErrorResponder) // NewListByResourceGroupPager is the fake for method LabsClient.NewListByResourceGroupPager // HTTP status codes to indicate success: http.StatusOK NewListByResourceGroupPager func(resourceGroupName string, options *armdevtestlabs.LabsClientListByResourceGroupOptions) (resp azfake.PagerResponder[armdevtestlabs.LabsClientListByResourceGroupResponse]) // NewListBySubscriptionPager is the fake for method LabsClient.NewListBySubscriptionPager // HTTP status codes to indicate success: http.StatusOK NewListBySubscriptionPager func(options *armdevtestlabs.LabsClientListBySubscriptionOptions) (resp azfake.PagerResponder[armdevtestlabs.LabsClientListBySubscriptionResponse]) // NewListVhdsPager is the fake for method LabsClient.NewListVhdsPager // HTTP status codes to indicate success: http.StatusOK NewListVhdsPager func(resourceGroupName string, name string, options *armdevtestlabs.LabsClientListVhdsOptions) (resp azfake.PagerResponder[armdevtestlabs.LabsClientListVhdsResponse]) // Update is the fake for method LabsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, name string, lab armdevtestlabs.LabFragment, options *armdevtestlabs.LabsClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.LabsClientUpdateResponse], errResp azfake.ErrorResponder) }
LabsServer is a fake server for instances of the armdevtestlabs.LabsClient type.
type LabsServerTransport ¶
type LabsServerTransport struct {
// contains filtered or unexported fields
}
LabsServerTransport connects instances of armdevtestlabs.LabsClient to instances of LabsServer. Don't use this type directly, use NewLabsServerTransport instead.
func NewLabsServerTransport ¶
func NewLabsServerTransport(srv *LabsServer) *LabsServerTransport
NewLabsServerTransport creates a new instance of LabsServerTransport with the provided implementation. The returned LabsServerTransport instance is connected to an instance of armdevtestlabs.LabsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type NotificationChannelsServer ¶
type NotificationChannelsServer struct { // CreateOrUpdate is the fake for method NotificationChannelsClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, notificationChannel armdevtestlabs.NotificationChannel, options *armdevtestlabs.NotificationChannelsClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.NotificationChannelsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method NotificationChannelsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.NotificationChannelsClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.NotificationChannelsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method NotificationChannelsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.NotificationChannelsClientGetOptions) (resp azfake.Responder[armdevtestlabs.NotificationChannelsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method NotificationChannelsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.NotificationChannelsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.NotificationChannelsClientListResponse]) // Notify is the fake for method NotificationChannelsClient.Notify // HTTP status codes to indicate success: http.StatusOK Notify func(ctx context.Context, resourceGroupName string, labName string, name string, notifyParameters armdevtestlabs.NotifyParameters, options *armdevtestlabs.NotificationChannelsClientNotifyOptions) (resp azfake.Responder[armdevtestlabs.NotificationChannelsClientNotifyResponse], errResp azfake.ErrorResponder) // Update is the fake for method NotificationChannelsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, notificationChannel armdevtestlabs.NotificationChannelFragment, options *armdevtestlabs.NotificationChannelsClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.NotificationChannelsClientUpdateResponse], errResp azfake.ErrorResponder) }
NotificationChannelsServer is a fake server for instances of the armdevtestlabs.NotificationChannelsClient type.
type NotificationChannelsServerTransport ¶
type NotificationChannelsServerTransport struct {
// contains filtered or unexported fields
}
NotificationChannelsServerTransport connects instances of armdevtestlabs.NotificationChannelsClient to instances of NotificationChannelsServer. Don't use this type directly, use NewNotificationChannelsServerTransport instead.
func NewNotificationChannelsServerTransport ¶
func NewNotificationChannelsServerTransport(srv *NotificationChannelsServer) *NotificationChannelsServerTransport
NewNotificationChannelsServerTransport creates a new instance of NotificationChannelsServerTransport with the provided implementation. The returned NotificationChannelsServerTransport instance is connected to an instance of armdevtestlabs.NotificationChannelsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type OperationsServer ¶
type OperationsServer struct { // Get is the fake for method OperationsClient.Get // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted Get func(ctx context.Context, locationName string, name string, options *armdevtestlabs.OperationsClientGetOptions) (resp azfake.Responder[armdevtestlabs.OperationsClientGetResponse], errResp azfake.ErrorResponder) }
OperationsServer is a fake server for instances of the armdevtestlabs.OperationsClient type.
type OperationsServerTransport ¶
type OperationsServerTransport struct {
// contains filtered or unexported fields
}
OperationsServerTransport connects instances of armdevtestlabs.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 armdevtestlabs.OperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PoliciesServer ¶
type PoliciesServer struct { // CreateOrUpdate is the fake for method PoliciesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy armdevtestlabs.Policy, options *armdevtestlabs.PoliciesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.PoliciesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method PoliciesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, options *armdevtestlabs.PoliciesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.PoliciesClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method PoliciesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, options *armdevtestlabs.PoliciesClientGetOptions) (resp azfake.Responder[armdevtestlabs.PoliciesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method PoliciesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, policySetName string, options *armdevtestlabs.PoliciesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.PoliciesClientListResponse]) // Update is the fake for method PoliciesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, policySetName string, name string, policy armdevtestlabs.PolicyFragment, options *armdevtestlabs.PoliciesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.PoliciesClientUpdateResponse], errResp azfake.ErrorResponder) }
PoliciesServer is a fake server for instances of the armdevtestlabs.PoliciesClient type.
type PoliciesServerTransport ¶
type PoliciesServerTransport struct {
// contains filtered or unexported fields
}
PoliciesServerTransport connects instances of armdevtestlabs.PoliciesClient to instances of PoliciesServer. Don't use this type directly, use NewPoliciesServerTransport instead.
func NewPoliciesServerTransport ¶
func NewPoliciesServerTransport(srv *PoliciesServer) *PoliciesServerTransport
NewPoliciesServerTransport creates a new instance of PoliciesServerTransport with the provided implementation. The returned PoliciesServerTransport instance is connected to an instance of armdevtestlabs.PoliciesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type PolicySetsServer ¶
type PolicySetsServer struct { // EvaluatePolicies is the fake for method PolicySetsClient.EvaluatePolicies // HTTP status codes to indicate success: http.StatusOK EvaluatePolicies func(ctx context.Context, resourceGroupName string, labName string, name string, evaluatePoliciesRequest armdevtestlabs.EvaluatePoliciesRequest, options *armdevtestlabs.PolicySetsClientEvaluatePoliciesOptions) (resp azfake.Responder[armdevtestlabs.PolicySetsClientEvaluatePoliciesResponse], errResp azfake.ErrorResponder) }
PolicySetsServer is a fake server for instances of the armdevtestlabs.PolicySetsClient type.
type PolicySetsServerTransport ¶
type PolicySetsServerTransport struct {
// contains filtered or unexported fields
}
PolicySetsServerTransport connects instances of armdevtestlabs.PolicySetsClient to instances of PolicySetsServer. Don't use this type directly, use NewPolicySetsServerTransport instead.
func NewPolicySetsServerTransport ¶
func NewPolicySetsServerTransport(srv *PolicySetsServer) *PolicySetsServerTransport
NewPolicySetsServerTransport creates a new instance of PolicySetsServerTransport with the provided implementation. The returned PolicySetsServerTransport instance is connected to an instance of armdevtestlabs.PolicySetsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ProviderOperationsServer ¶
type ProviderOperationsServer struct { // NewListPager is the fake for method ProviderOperationsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(options *armdevtestlabs.ProviderOperationsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ProviderOperationsClientListResponse]) }
ProviderOperationsServer is a fake server for instances of the armdevtestlabs.ProviderOperationsClient type.
type ProviderOperationsServerTransport ¶
type ProviderOperationsServerTransport struct {
// contains filtered or unexported fields
}
ProviderOperationsServerTransport connects instances of armdevtestlabs.ProviderOperationsClient to instances of ProviderOperationsServer. Don't use this type directly, use NewProviderOperationsServerTransport instead.
func NewProviderOperationsServerTransport ¶
func NewProviderOperationsServerTransport(srv *ProviderOperationsServer) *ProviderOperationsServerTransport
NewProviderOperationsServerTransport creates a new instance of ProviderOperationsServerTransport with the provided implementation. The returned ProviderOperationsServerTransport instance is connected to an instance of armdevtestlabs.ProviderOperationsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SchedulesServer ¶
type SchedulesServer struct { // CreateOrUpdate is the fake for method SchedulesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, schedule armdevtestlabs.Schedule, options *armdevtestlabs.SchedulesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.SchedulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method SchedulesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.SchedulesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.SchedulesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExecute is the fake for method SchedulesClient.BeginExecute // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExecute func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.SchedulesClientBeginExecuteOptions) (resp azfake.PollerResponder[armdevtestlabs.SchedulesClientExecuteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SchedulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.SchedulesClientGetOptions) (resp azfake.Responder[armdevtestlabs.SchedulesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SchedulesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.SchedulesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.SchedulesClientListResponse]) // NewListApplicablePager is the fake for method SchedulesClient.NewListApplicablePager // HTTP status codes to indicate success: http.StatusOK NewListApplicablePager func(resourceGroupName string, labName string, name string, options *armdevtestlabs.SchedulesClientListApplicableOptions) (resp azfake.PagerResponder[armdevtestlabs.SchedulesClientListApplicableResponse]) // Update is the fake for method SchedulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, schedule armdevtestlabs.ScheduleFragment, options *armdevtestlabs.SchedulesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.SchedulesClientUpdateResponse], errResp azfake.ErrorResponder) }
SchedulesServer is a fake server for instances of the armdevtestlabs.SchedulesClient type.
type SchedulesServerTransport ¶
type SchedulesServerTransport struct {
// contains filtered or unexported fields
}
SchedulesServerTransport connects instances of armdevtestlabs.SchedulesClient to instances of SchedulesServer. Don't use this type directly, use NewSchedulesServerTransport instead.
func NewSchedulesServerTransport ¶
func NewSchedulesServerTransport(srv *SchedulesServer) *SchedulesServerTransport
NewSchedulesServerTransport creates a new instance of SchedulesServerTransport with the provided implementation. The returned SchedulesServerTransport instance is connected to an instance of armdevtestlabs.SchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type SecretsServer ¶
type SecretsServer struct { // BeginCreateOrUpdate is the fake for method SecretsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, secret armdevtestlabs.Secret, options *armdevtestlabs.SecretsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.SecretsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method SecretsClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.SecretsClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.SecretsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method SecretsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.SecretsClientGetOptions) (resp azfake.Responder[armdevtestlabs.SecretsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method SecretsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, userName string, options *armdevtestlabs.SecretsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.SecretsClientListResponse]) // Update is the fake for method SecretsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, secret armdevtestlabs.SecretFragment, options *armdevtestlabs.SecretsClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.SecretsClientUpdateResponse], errResp azfake.ErrorResponder) }
SecretsServer is a fake server for instances of the armdevtestlabs.SecretsClient type.
type SecretsServerTransport ¶
type SecretsServerTransport struct {
// contains filtered or unexported fields
}
SecretsServerTransport connects instances of armdevtestlabs.SecretsClient to instances of SecretsServer. Don't use this type directly, use NewSecretsServerTransport instead.
func NewSecretsServerTransport ¶
func NewSecretsServerTransport(srv *SecretsServer) *SecretsServerTransport
NewSecretsServerTransport creates a new instance of SecretsServerTransport with the provided implementation. The returned SecretsServerTransport instance is connected to an instance of armdevtestlabs.SecretsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServerFactory ¶
type ServerFactory struct { ArmTemplatesServer ArmTemplatesServer ArtifactSourcesServer ArtifactSourcesServer ArtifactsServer ArtifactsServer CostsServer CostsServer CustomImagesServer CustomImagesServer DisksServer DisksServer EnvironmentsServer EnvironmentsServer FormulasServer FormulasServer GalleryImagesServer GalleryImagesServer GlobalSchedulesServer GlobalSchedulesServer LabsServer LabsServer NotificationChannelsServer NotificationChannelsServer OperationsServer OperationsServer PoliciesServer PoliciesServer PolicySetsServer PolicySetsServer ProviderOperationsServer ProviderOperationsServer SchedulesServer SchedulesServer SecretsServer SecretsServer ServiceFabricSchedulesServer ServiceFabricSchedulesServer ServiceFabricsServer ServiceFabricsServer ServiceRunnersServer ServiceRunnersServer UsersServer UsersServer VirtualMachineSchedulesServer VirtualMachineSchedulesServer VirtualMachinesServer VirtualMachinesServer VirtualNetworksServer VirtualNetworksServer }
ServerFactory is a fake server for instances of the armdevtestlabs.ClientFactory type.
type ServerFactoryTransport ¶
type ServerFactoryTransport struct {
// contains filtered or unexported fields
}
ServerFactoryTransport connects instances of armdevtestlabs.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 armdevtestlabs.ClientFactory via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServiceFabricSchedulesServer ¶
type ServiceFabricSchedulesServer struct { // CreateOrUpdate is the fake for method ServiceFabricSchedulesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, schedule armdevtestlabs.Schedule, options *armdevtestlabs.ServiceFabricSchedulesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricSchedulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServiceFabricSchedulesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, options *armdevtestlabs.ServiceFabricSchedulesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricSchedulesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExecute is the fake for method ServiceFabricSchedulesClient.BeginExecute // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExecute func(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, options *armdevtestlabs.ServiceFabricSchedulesClientBeginExecuteOptions) (resp azfake.PollerResponder[armdevtestlabs.ServiceFabricSchedulesClientExecuteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServiceFabricSchedulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, options *armdevtestlabs.ServiceFabricSchedulesClientGetOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricSchedulesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ServiceFabricSchedulesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, userName string, serviceFabricName string, options *armdevtestlabs.ServiceFabricSchedulesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ServiceFabricSchedulesClientListResponse]) // Update is the fake for method ServiceFabricSchedulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, userName string, serviceFabricName string, name string, schedule armdevtestlabs.ScheduleFragment, options *armdevtestlabs.ServiceFabricSchedulesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricSchedulesClientUpdateResponse], errResp azfake.ErrorResponder) }
ServiceFabricSchedulesServer is a fake server for instances of the armdevtestlabs.ServiceFabricSchedulesClient type.
type ServiceFabricSchedulesServerTransport ¶
type ServiceFabricSchedulesServerTransport struct {
// contains filtered or unexported fields
}
ServiceFabricSchedulesServerTransport connects instances of armdevtestlabs.ServiceFabricSchedulesClient to instances of ServiceFabricSchedulesServer. Don't use this type directly, use NewServiceFabricSchedulesServerTransport instead.
func NewServiceFabricSchedulesServerTransport ¶
func NewServiceFabricSchedulesServerTransport(srv *ServiceFabricSchedulesServer) *ServiceFabricSchedulesServerTransport
NewServiceFabricSchedulesServerTransport creates a new instance of ServiceFabricSchedulesServerTransport with the provided implementation. The returned ServiceFabricSchedulesServerTransport instance is connected to an instance of armdevtestlabs.ServiceFabricSchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServiceFabricsServer ¶
type ServiceFabricsServer struct { // BeginCreateOrUpdate is the fake for method ServiceFabricsClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, serviceFabric armdevtestlabs.ServiceFabric, options *armdevtestlabs.ServiceFabricsClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.ServiceFabricsClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method ServiceFabricsClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.ServiceFabricsClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.ServiceFabricsClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServiceFabricsClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.ServiceFabricsClientGetOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricsClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method ServiceFabricsClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, userName string, options *armdevtestlabs.ServiceFabricsClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.ServiceFabricsClientListResponse]) // ListApplicableSchedules is the fake for method ServiceFabricsClient.ListApplicableSchedules // HTTP status codes to indicate success: http.StatusOK ListApplicableSchedules func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.ServiceFabricsClientListApplicableSchedulesOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricsClientListApplicableSchedulesResponse], errResp azfake.ErrorResponder) // BeginStart is the fake for method ServiceFabricsClient.BeginStart // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStart func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.ServiceFabricsClientBeginStartOptions) (resp azfake.PollerResponder[armdevtestlabs.ServiceFabricsClientStartResponse], errResp azfake.ErrorResponder) // BeginStop is the fake for method ServiceFabricsClient.BeginStop // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStop func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, options *armdevtestlabs.ServiceFabricsClientBeginStopOptions) (resp azfake.PollerResponder[armdevtestlabs.ServiceFabricsClientStopResponse], errResp azfake.ErrorResponder) // Update is the fake for method ServiceFabricsClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, userName string, name string, serviceFabric armdevtestlabs.ServiceFabricFragment, options *armdevtestlabs.ServiceFabricsClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.ServiceFabricsClientUpdateResponse], errResp azfake.ErrorResponder) }
ServiceFabricsServer is a fake server for instances of the armdevtestlabs.ServiceFabricsClient type.
type ServiceFabricsServerTransport ¶
type ServiceFabricsServerTransport struct {
// contains filtered or unexported fields
}
ServiceFabricsServerTransport connects instances of armdevtestlabs.ServiceFabricsClient to instances of ServiceFabricsServer. Don't use this type directly, use NewServiceFabricsServerTransport instead.
func NewServiceFabricsServerTransport ¶
func NewServiceFabricsServerTransport(srv *ServiceFabricsServer) *ServiceFabricsServerTransport
NewServiceFabricsServerTransport creates a new instance of ServiceFabricsServerTransport with the provided implementation. The returned ServiceFabricsServerTransport instance is connected to an instance of armdevtestlabs.ServiceFabricsClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type ServiceRunnersServer ¶
type ServiceRunnersServer struct { // CreateOrUpdate is the fake for method ServiceRunnersClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, serviceRunner armdevtestlabs.ServiceRunner, options *armdevtestlabs.ServiceRunnersClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.ServiceRunnersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method ServiceRunnersClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.ServiceRunnersClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.ServiceRunnersClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method ServiceRunnersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.ServiceRunnersClientGetOptions) (resp azfake.Responder[armdevtestlabs.ServiceRunnersClientGetResponse], errResp azfake.ErrorResponder) }
ServiceRunnersServer is a fake server for instances of the armdevtestlabs.ServiceRunnersClient type.
type ServiceRunnersServerTransport ¶
type ServiceRunnersServerTransport struct {
// contains filtered or unexported fields
}
ServiceRunnersServerTransport connects instances of armdevtestlabs.ServiceRunnersClient to instances of ServiceRunnersServer. Don't use this type directly, use NewServiceRunnersServerTransport instead.
func NewServiceRunnersServerTransport ¶
func NewServiceRunnersServerTransport(srv *ServiceRunnersServer) *ServiceRunnersServerTransport
NewServiceRunnersServerTransport creates a new instance of ServiceRunnersServerTransport with the provided implementation. The returned ServiceRunnersServerTransport instance is connected to an instance of armdevtestlabs.ServiceRunnersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type UsersServer ¶
type UsersServer struct { // BeginCreateOrUpdate is the fake for method UsersClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, userParam armdevtestlabs.User, options *armdevtestlabs.UsersClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.UsersClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method UsersClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.UsersClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.UsersClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method UsersClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.UsersClientGetOptions) (resp azfake.Responder[armdevtestlabs.UsersClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method UsersClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.UsersClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.UsersClientListResponse]) // Update is the fake for method UsersClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, userParam armdevtestlabs.UserFragment, options *armdevtestlabs.UsersClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.UsersClientUpdateResponse], errResp azfake.ErrorResponder) }
UsersServer is a fake server for instances of the armdevtestlabs.UsersClient type.
type UsersServerTransport ¶
type UsersServerTransport struct {
// contains filtered or unexported fields
}
UsersServerTransport connects instances of armdevtestlabs.UsersClient to instances of UsersServer. Don't use this type directly, use NewUsersServerTransport instead.
func NewUsersServerTransport ¶
func NewUsersServerTransport(srv *UsersServer) *UsersServerTransport
NewUsersServerTransport creates a new instance of UsersServerTransport with the provided implementation. The returned UsersServerTransport instance is connected to an instance of armdevtestlabs.UsersClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualMachineSchedulesServer ¶
type VirtualMachineSchedulesServer struct { // CreateOrUpdate is the fake for method VirtualMachineSchedulesClient.CreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated CreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, virtualMachineName string, name string, schedule armdevtestlabs.Schedule, options *armdevtestlabs.VirtualMachineSchedulesClientCreateOrUpdateOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachineSchedulesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // Delete is the fake for method VirtualMachineSchedulesClient.Delete // HTTP status codes to indicate success: http.StatusOK, http.StatusNoContent Delete func(ctx context.Context, resourceGroupName string, labName string, virtualMachineName string, name string, options *armdevtestlabs.VirtualMachineSchedulesClientDeleteOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachineSchedulesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginExecute is the fake for method VirtualMachineSchedulesClient.BeginExecute // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginExecute func(ctx context.Context, resourceGroupName string, labName string, virtualMachineName string, name string, options *armdevtestlabs.VirtualMachineSchedulesClientBeginExecuteOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachineSchedulesClientExecuteResponse], errResp azfake.ErrorResponder) // Get is the fake for method VirtualMachineSchedulesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, virtualMachineName string, name string, options *armdevtestlabs.VirtualMachineSchedulesClientGetOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachineSchedulesClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method VirtualMachineSchedulesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, virtualMachineName string, options *armdevtestlabs.VirtualMachineSchedulesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.VirtualMachineSchedulesClientListResponse]) // Update is the fake for method VirtualMachineSchedulesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, virtualMachineName string, name string, schedule armdevtestlabs.ScheduleFragment, options *armdevtestlabs.VirtualMachineSchedulesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachineSchedulesClientUpdateResponse], errResp azfake.ErrorResponder) }
VirtualMachineSchedulesServer is a fake server for instances of the armdevtestlabs.VirtualMachineSchedulesClient type.
type VirtualMachineSchedulesServerTransport ¶
type VirtualMachineSchedulesServerTransport struct {
// contains filtered or unexported fields
}
VirtualMachineSchedulesServerTransport connects instances of armdevtestlabs.VirtualMachineSchedulesClient to instances of VirtualMachineSchedulesServer. Don't use this type directly, use NewVirtualMachineSchedulesServerTransport instead.
func NewVirtualMachineSchedulesServerTransport ¶
func NewVirtualMachineSchedulesServerTransport(srv *VirtualMachineSchedulesServer) *VirtualMachineSchedulesServerTransport
NewVirtualMachineSchedulesServerTransport creates a new instance of VirtualMachineSchedulesServerTransport with the provided implementation. The returned VirtualMachineSchedulesServerTransport instance is connected to an instance of armdevtestlabs.VirtualMachineSchedulesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualMachinesServer ¶
type VirtualMachinesServer struct { // BeginAddDataDisk is the fake for method VirtualMachinesClient.BeginAddDataDisk // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginAddDataDisk func(ctx context.Context, resourceGroupName string, labName string, name string, dataDiskProperties armdevtestlabs.DataDiskProperties, options *armdevtestlabs.VirtualMachinesClientBeginAddDataDiskOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientAddDataDiskResponse], errResp azfake.ErrorResponder) // BeginApplyArtifacts is the fake for method VirtualMachinesClient.BeginApplyArtifacts // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginApplyArtifacts func(ctx context.Context, resourceGroupName string, labName string, name string, applyArtifactsRequest armdevtestlabs.ApplyArtifactsRequest, options *armdevtestlabs.VirtualMachinesClientBeginApplyArtifactsOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientApplyArtifactsResponse], errResp azfake.ErrorResponder) // BeginClaim is the fake for method VirtualMachinesClient.BeginClaim // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginClaim func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginClaimOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientClaimResponse], errResp azfake.ErrorResponder) // BeginCreateOrUpdate is the fake for method VirtualMachinesClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine armdevtestlabs.LabVirtualMachine, options *armdevtestlabs.VirtualMachinesClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method VirtualMachinesClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientDeleteResponse], errResp azfake.ErrorResponder) // BeginDetachDataDisk is the fake for method VirtualMachinesClient.BeginDetachDataDisk // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginDetachDataDisk func(ctx context.Context, resourceGroupName string, labName string, name string, detachDataDiskProperties armdevtestlabs.DetachDataDiskProperties, options *armdevtestlabs.VirtualMachinesClientBeginDetachDataDiskOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientDetachDataDiskResponse], errResp azfake.ErrorResponder) // Get is the fake for method VirtualMachinesClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientGetOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachinesClientGetResponse], errResp azfake.ErrorResponder) // GetRdpFileContents is the fake for method VirtualMachinesClient.GetRdpFileContents // HTTP status codes to indicate success: http.StatusOK GetRdpFileContents func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientGetRdpFileContentsOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachinesClientGetRdpFileContentsResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method VirtualMachinesClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.VirtualMachinesClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.VirtualMachinesClientListResponse]) // ListApplicableSchedules is the fake for method VirtualMachinesClient.ListApplicableSchedules // HTTP status codes to indicate success: http.StatusOK ListApplicableSchedules func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientListApplicableSchedulesOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachinesClientListApplicableSchedulesResponse], errResp azfake.ErrorResponder) // BeginRedeploy is the fake for method VirtualMachinesClient.BeginRedeploy // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRedeploy func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginRedeployOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientRedeployResponse], errResp azfake.ErrorResponder) // BeginResize is the fake for method VirtualMachinesClient.BeginResize // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginResize func(ctx context.Context, resourceGroupName string, labName string, name string, resizeLabVirtualMachineProperties armdevtestlabs.ResizeLabVirtualMachineProperties, options *armdevtestlabs.VirtualMachinesClientBeginResizeOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientResizeResponse], errResp azfake.ErrorResponder) // BeginRestart is the fake for method VirtualMachinesClient.BeginRestart // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginRestart func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginRestartOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientRestartResponse], errResp azfake.ErrorResponder) // BeginStart is the fake for method VirtualMachinesClient.BeginStart // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStart func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginStartOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientStartResponse], errResp azfake.ErrorResponder) // BeginStop is the fake for method VirtualMachinesClient.BeginStop // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginStop func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginStopOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientStopResponse], errResp azfake.ErrorResponder) // BeginTransferDisks is the fake for method VirtualMachinesClient.BeginTransferDisks // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginTransferDisks func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginTransferDisksOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientTransferDisksResponse], errResp azfake.ErrorResponder) // BeginUnClaim is the fake for method VirtualMachinesClient.BeginUnClaim // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted BeginUnClaim func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualMachinesClientBeginUnClaimOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualMachinesClientUnClaimResponse], errResp azfake.ErrorResponder) // Update is the fake for method VirtualMachinesClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, labVirtualMachine armdevtestlabs.LabVirtualMachineFragment, options *armdevtestlabs.VirtualMachinesClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.VirtualMachinesClientUpdateResponse], errResp azfake.ErrorResponder) }
VirtualMachinesServer is a fake server for instances of the armdevtestlabs.VirtualMachinesClient type.
type VirtualMachinesServerTransport ¶
type VirtualMachinesServerTransport struct {
// contains filtered or unexported fields
}
VirtualMachinesServerTransport connects instances of armdevtestlabs.VirtualMachinesClient to instances of VirtualMachinesServer. Don't use this type directly, use NewVirtualMachinesServerTransport instead.
func NewVirtualMachinesServerTransport ¶
func NewVirtualMachinesServerTransport(srv *VirtualMachinesServer) *VirtualMachinesServerTransport
NewVirtualMachinesServerTransport creates a new instance of VirtualMachinesServerTransport with the provided implementation. The returned VirtualMachinesServerTransport instance is connected to an instance of armdevtestlabs.VirtualMachinesClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
type VirtualNetworksServer ¶
type VirtualNetworksServer struct { // BeginCreateOrUpdate is the fake for method VirtualNetworksClient.BeginCreateOrUpdate // HTTP status codes to indicate success: http.StatusOK, http.StatusCreated BeginCreateOrUpdate func(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork armdevtestlabs.VirtualNetwork, options *armdevtestlabs.VirtualNetworksClientBeginCreateOrUpdateOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualNetworksClientCreateOrUpdateResponse], errResp azfake.ErrorResponder) // BeginDelete is the fake for method VirtualNetworksClient.BeginDelete // HTTP status codes to indicate success: http.StatusOK, http.StatusAccepted, http.StatusNoContent BeginDelete func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualNetworksClientBeginDeleteOptions) (resp azfake.PollerResponder[armdevtestlabs.VirtualNetworksClientDeleteResponse], errResp azfake.ErrorResponder) // Get is the fake for method VirtualNetworksClient.Get // HTTP status codes to indicate success: http.StatusOK Get func(ctx context.Context, resourceGroupName string, labName string, name string, options *armdevtestlabs.VirtualNetworksClientGetOptions) (resp azfake.Responder[armdevtestlabs.VirtualNetworksClientGetResponse], errResp azfake.ErrorResponder) // NewListPager is the fake for method VirtualNetworksClient.NewListPager // HTTP status codes to indicate success: http.StatusOK NewListPager func(resourceGroupName string, labName string, options *armdevtestlabs.VirtualNetworksClientListOptions) (resp azfake.PagerResponder[armdevtestlabs.VirtualNetworksClientListResponse]) // Update is the fake for method VirtualNetworksClient.Update // HTTP status codes to indicate success: http.StatusOK Update func(ctx context.Context, resourceGroupName string, labName string, name string, virtualNetwork armdevtestlabs.VirtualNetworkFragment, options *armdevtestlabs.VirtualNetworksClientUpdateOptions) (resp azfake.Responder[armdevtestlabs.VirtualNetworksClientUpdateResponse], errResp azfake.ErrorResponder) }
VirtualNetworksServer is a fake server for instances of the armdevtestlabs.VirtualNetworksClient type.
type VirtualNetworksServerTransport ¶
type VirtualNetworksServerTransport struct {
// contains filtered or unexported fields
}
VirtualNetworksServerTransport connects instances of armdevtestlabs.VirtualNetworksClient to instances of VirtualNetworksServer. Don't use this type directly, use NewVirtualNetworksServerTransport instead.
func NewVirtualNetworksServerTransport ¶
func NewVirtualNetworksServerTransport(srv *VirtualNetworksServer) *VirtualNetworksServerTransport
NewVirtualNetworksServerTransport creates a new instance of VirtualNetworksServerTransport with the provided implementation. The returned VirtualNetworksServerTransport instance is connected to an instance of armdevtestlabs.VirtualNetworksClient via the azcore.ClientOptions.Transporter field in the client's constructor parameters.
Source Files ¶
- armtemplates_server.go
- artifacts_server.go
- artifactsources_server.go
- costs_server.go
- customimages_server.go
- disks_server.go
- environments_server.go
- formulas_server.go
- galleryimages_server.go
- globalschedules_server.go
- internal.go
- labs_server.go
- notificationchannels_server.go
- operations_server.go
- policies_server.go
- policysets_server.go
- provideroperations_server.go
- schedules_server.go
- secrets_server.go
- server_factory.go
- servicefabrics_server.go
- servicefabricschedules_server.go
- servicerunners_server.go
- time_rfc3339.go
- users_server.go
- virtualmachines_server.go
- virtualmachineschedules_server.go
- virtualnetworks_server.go