subscriptionapi

package
v67.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/subscription/armsubscription(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/subscription/armsubscription). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasClientAPI

type AliasClientAPI interface {
	Create(ctx context.Context, aliasName string, body subscription.PutAliasRequest) (result subscription.AliasCreateFuture, err error)
	Delete(ctx context.Context, aliasName string) (result autorest.Response, err error)
	Get(ctx context.Context, aliasName string) (result subscription.PutAliasResponse, err error)
	List(ctx context.Context) (result subscription.PutAliasListResult, err error)
}

AliasClientAPI contains the set of methods on the AliasClient type.

type ClientAPI

type ClientAPI interface {
	Cancel(ctx context.Context, subscriptionID string) (result subscription.CanceledSubscriptionID, err error)
	Enable(ctx context.Context, subscriptionID string) (result subscription.EnabledSubscriptionID, err error)
	Rename(ctx context.Context, subscriptionID string, body subscription.Name) (result subscription.RenamedSubscriptionID, err error)
}

ClientAPI contains the set of methods on the Client type.

type OperationsClientAPI

type OperationsClientAPI interface {
	List(ctx context.Context) (result subscription.OperationListResult, err error)
}

OperationsClientAPI contains the set of methods on the OperationsClient type.

type SubscriptionsClientAPI

type SubscriptionsClientAPI interface {
	Get(ctx context.Context, subscriptionID string) (result subscription.Model, err error)
	List(ctx context.Context) (result subscription.ListResultPage, err error)
	ListComplete(ctx context.Context) (result subscription.ListResultIterator, err error)
	ListLocations(ctx context.Context, subscriptionID string) (result subscription.LocationListResult, err error)
}

SubscriptionsClientAPI contains the set of methods on the SubscriptionsClient type.

type TenantsClientAPI

type TenantsClientAPI interface {
	List(ctx context.Context) (result subscription.TenantListResultPage, err error)
	ListComplete(ctx context.Context) (result subscription.TenantListResultIterator, err error)
}

TenantsClientAPI contains the set of methods on the TenantsClient type.

Jump to

Keyboard shortcuts

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