tenantbackfill

package
v0.20230206.1104846 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: MPL-2.0 Imports: 6 Imported by: 1

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
	Model        *TenantBackfillStatusResult
}

type Status

type Status string
const (
	StatusCancelled                Status = "Cancelled"
	StatusCompleted                Status = "Completed"
	StatusFailed                   Status = "Failed"
	StatusNotStarted               Status = "NotStarted"
	StatusNotStartedButGroupsExist Status = "NotStartedButGroupsExist"
	StatusStarted                  Status = "Started"
)

type StatusOperationResponse

type StatusOperationResponse struct {
	HttpResponse *http.Response
	Model        *TenantBackfillStatusResult
}

type TenantBackfillClient

type TenantBackfillClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewTenantBackfillClientWithBaseURI

func NewTenantBackfillClientWithBaseURI(endpoint string) TenantBackfillClient

func (TenantBackfillClient) StartTenantBackfill

func (c TenantBackfillClient) StartTenantBackfill(ctx context.Context) (result StartTenantBackfillOperationResponse, err error)

StartTenantBackfill ...

func (TenantBackfillClient) Status

Status ...

type TenantBackfillStatusResult

type TenantBackfillStatusResult struct {
	Status   *Status `json:"status,omitempty"`
	TenantId *string `json:"tenantId,omitempty"`
}

Jump to

Keyboard shortcuts

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