Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTransport *http.Transport
Functions ¶
func GetDefaultOption ¶
func GetDefaultOption(apiVersion string) *arm.ClientOptions
Types ¶
type CreateOrUpdateFunc ¶
type CreateOrUpdateFunc[Type interface{}] interface {
CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resourceParam Type) (*Type, error)
}
CreateOrUpdate creates or updates a service resource.
type DeleteFunc ¶
type DeleteFunc[Type interface{}] interface {
Delete(ctx context.Context, resourceGroupName string, resourceName string) error
}
Delete deletes a service resource by name.
type FuncPolicyWrapper ¶
type GetFunc ¶
type GetFunc[Type interface{}] interface {
Get(ctx context.Context, resourceGroupName string, resourceName string) (result *Type, rerr error)
}
Get gets the service resource
type GetWithExpandFunc ¶
type GetWithExpandFunc[Type interface{}] interface {
Get(ctx context.Context, resourceGroupName string, resourceName string, expand *string) (result *Type, rerr error)
}
Get gets the service resource
type ListFunc ¶
type ListFunc[Type interface{}] interface {
List(ctx context.Context, resourceGroupName string) (result []*Type, rerr error)
}
List gets a list of service resource in the resource group.
type PollerWrapper ¶
type PollerWrapper[ResponseType interface{}] struct {
// contains filtered or unexported fields
}
func NewPollerWrapper ¶
func NewPollerWrapper[ResponseType interface{}](poller *runtime.Poller[ResponseType], err error) *PollerWrapper[ResponseType]
func (*PollerWrapper[ResponseType]) WaitforPollerResp ¶
func (handler *PollerWrapper[ResponseType]) WaitforPollerResp(ctx context.Context) (result *ResponseType, err error)
Poller is the poller to be used for polling. assume that the poller will ends
Click to show internal directories.
Click to hide internal directories.