README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/managementgroups/2020-05-01/tenantbackfill
Documentation
The tenantbackfill
SDK allows for interaction with the Azure Resource Manager Service managementgroups
(API Version 2020-05-01
).
This readme covers example usages, but further information on using this SDK can be found in the project root.
Import Path
import "github.com/hashicorp/go-azure-sdk/resource-manager/managementgroups/2020-05-01/tenantbackfill"
Client Initialization
client := tenantbackfill.NewTenantBackfillClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: TenantBackfillClient.StartTenantBackfill
ctx := context.TODO()
read, err := client.StartTenantBackfill(ctx)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Example Usage: TenantBackfillClient.Status
ctx := context.TODO()
read, err := client.Status(ctx)
if err != nil {
// handle the error
}
if model := read.Model; model != nil {
// do something with the model/response object
}
Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
Types ¶
type StartTenantBackfillOperationResponse ¶
type StartTenantBackfillOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TenantBackfillStatusResult }
type StatusOperationResponse ¶
type StatusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *TenantBackfillStatusResult }
type TenantBackfillClient ¶
type TenantBackfillClient struct {
Client *resourcemanager.Client
}
func NewTenantBackfillClientWithBaseURI ¶
func NewTenantBackfillClientWithBaseURI(api environments.Api) (*TenantBackfillClient, error)
func (TenantBackfillClient) StartTenantBackfill ¶
func (c TenantBackfillClient) StartTenantBackfill(ctx context.Context) (result StartTenantBackfillOperationResponse, err error)
StartTenantBackfill ...
func (TenantBackfillClient) Status ¶
func (c TenantBackfillClient) Status(ctx context.Context) (result StatusOperationResponse, err error)
Status ...
Click to show internal directories.
Click to hide internal directories.