features

package
v0.0.0-...-823d357 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Get(ctx context.Context, resourceProviderNamespace string, featureName string) (result mgmtfeatures.Result, err error)
	Register(ctx context.Context, resourceProviderNamespace string, featureName string) (result mgmtfeatures.Result, err error)
}

Client is a minimal interface for azure Client

func NewClient

func NewClient(environment *azureclient.AROEnvironment, subscriptionID string, authorizer autorest.Authorizer) Client

NewClient creates a new Client

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 {
	Register(ctx context.Context, resourceProviderNamespace string) (result mgmtfeatures.Provider, err error)
	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)
}

ResourcesClientAddons is a minimal interface for azure ResourcesClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL