Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentsClient ¶
type DeploymentsClient interface {
Get(ctx context.Context, resourceGroupName, deploymentName string) (mgmtfeatures.DeploymentExtended, error)
DeploymentsClientAddons
}
DeploymentsClient is a minimal interface for azure DeploymentsClient
func NewDeploymentsClient ¶
func NewDeploymentsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) DeploymentsClient
NewDeploymentsClient creates a new DeploymentsClient
type DeploymentsClientAddons ¶
type DeploymentsClientAddons interface {
CreateOrUpdateAndWait(ctx context.Context, resourceGroupName string, deploymentName string, parameters mgmtfeatures.Deployment) error
CreateOrUpdateAtSubscriptionScopeAndWait(ctx context.Context, deploymentName string, parameters mgmtfeatures.Deployment) error
DeleteAndWait(ctx context.Context, resourceGroupName string, deploymentName string) error
Wait(ctx context.Context, resourceGroupName string, deploymentName string) error
}
DeploymentsClientAddons contains addons for DeploymentsClient
type ProvidersClient ¶
type ProvidersClient interface {
ProvidersClientAddons
}
ProvidersClient is a minimal interface for azure ProvidersClient
func NewProvidersClient ¶
func NewProvidersClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) ProvidersClient
NewProvidersClient creates a new ProvidersClient
type ProvidersClientAddons ¶
type ProvidersClientAddons interface {
List(ctx context.Context, top *int32, expand string) (providers []mgmtfeatures.Provider, err error)
}
ProvidersClientAddons is a minimal interface for azure ProvidersClient
type ResourceGroupsClient ¶
type ResourceGroupsClient interface {
Get(ctx context.Context, resourceGroupName string) (result mgmtfeatures.ResourceGroup, err error)
CreateOrUpdate(ctx context.Context, resourceGroupName string, parameters mgmtfeatures.ResourceGroup) (result mgmtfeatures.ResourceGroup, err error)
Delete(ctx context.Context, resourceGroupName string) (result mgmtfeatures.ResourceGroupsDeleteFuture, err error)
ResourceGroupsClientAddons
}
ResourceGroupsClient is a minimal interface for azure ResourceGroupsClient
func NewResourceGroupsClient ¶
func NewResourceGroupsClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) ResourceGroupsClient
NewResourceGroupsClient creates a new ResourceGroupsClient
type ResourceGroupsClientAddons ¶
type ResourceGroupsClientAddons interface {
DeleteAndWait(ctx context.Context, resourceGroupName string) (err error)
List(ctx context.Context, filter string, top *int32) (resourcegroups []mgmtfeatures.ResourceGroup, err error)
}
ResourceGroupsClientAddons contains addons for ResourceGroupsClient
type ResourcesClient ¶
type ResourcesClient interface {
GetByID(ctx context.Context, resourceID string, APIVersion string) (mgmtfeatures.GenericResource, error)
DeleteByID(ctx context.Context, resourceID string, APIVersion string) (mgmtfeatures.ResourcesDeleteByIDFuture, error)
ResourcesClientAddons
}
ResourcesClient is a minimal interface for azure ResourcesClient
func NewResourcesClient ¶
func NewResourcesClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) ResourcesClient
NewResourcesClient creates a new ResourcesClient
type ResourcesClientAddons ¶
type ResourcesClientAddons interface {
Client() autorest.Client
ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, expand string, top *int32) ([]mgmtfeatures.GenericResourceExpanded, error)
DeleteByIDAndWait(ctx context.Context, resourceID string, apiVersion string) error
}
ResourcesClientAddons is a minimal interface for azure ResourcesClient