tenantbackfill

package
v0.20240110.1151535 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/managementgroups/2023-04-01/tenantbackfill Documentation

The tenantbackfill SDK allows for interaction with the Azure Resource Manager Service managementgroups (API Version 2023-04-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/2023-04-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 Status

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

func (*Status) UnmarshalJSON

func (s *Status) UnmarshalJSON(bytes []byte) error

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(sdkApi sdkEnv.Api) (*TenantBackfillClient, error)

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