azureadb2c

package
v49.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package azureadb2c implements the Azure ARM Azureadb2c service API version 2019-01-01-preview.

CPIM Configuration Client

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Azureadb2c
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AsyncOperationStatus

type AsyncOperationStatus struct {
	autorest.Response `json:"-"`
	// SubscriptionID - Subscription ID that the resource belongs to.
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// ID - The GET resource path for the operation.
	ID *string `json:"id,omitempty"`
	// Name - The operation ID.
	Name *string `json:"name,omitempty"`
	// Status - The status of the operation. Possible values include: 'Succeeded', 'Pending', 'Failed'
	Status StatusType `json:"status,omitempty"`
	// StartTime - Start time of the async operation.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - End time of the async operation.
	EndTime *string `json:"endTime,omitempty"`
	// B2CTenantResourceProperties - The Azure AD B2C tenant resource properties
	*B2CTenantResourceProperties `json:"properties,omitempty"`
	// Error - Error response if async operation failed.
	Error *AsyncOperationStatusError `json:"error,omitempty"`
}

AsyncOperationStatus the async operation status.

func (AsyncOperationStatus) MarshalJSON

func (aos AsyncOperationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AsyncOperationStatus.

func (*AsyncOperationStatus) UnmarshalJSON

func (aos *AsyncOperationStatus) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AsyncOperationStatus struct.

type AsyncOperationStatusError

type AsyncOperationStatusError struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message.
	Message *string `json:"message,omitempty"`
}

AsyncOperationStatusError error response if async operation failed.

type B2CResourceSKU

type B2CResourceSKU struct {
	// Name - The name of the SKU for the tenant. Possible values include: 'Standard', 'PremiumP1', 'PremiumP2'
	Name B2CResourceSKUName `json:"name,omitempty"`
	// Tier - The tier of the tenant. Possible values include: 'A0'
	Tier B2CResourceSKUTier `json:"tier,omitempty"`
}

B2CResourceSKU SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling(https://aka.ms/b2cBilling).

type B2CResourceSKUName

type B2CResourceSKUName string

B2CResourceSKUName enumerates the values for b2c resource sku name.

const (
	// PremiumP1 Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications
	// based billing.
	PremiumP1 B2CResourceSKUName = "PremiumP1"
	// PremiumP2 Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications
	// based billing.
	PremiumP2 B2CResourceSKUName = "PremiumP2"
	// Standard Azure AD B2C usage is billed to a linked Azure subscription and uses a monthly active users
	// (MAU) billing model.
	Standard B2CResourceSKUName = "Standard"
)

func PossibleB2CResourceSKUNameValues

func PossibleB2CResourceSKUNameValues() []B2CResourceSKUName

PossibleB2CResourceSKUNameValues returns an array of possible values for the B2CResourceSKUName const type.

type B2CResourceSKUTier

type B2CResourceSKUTier string

B2CResourceSKUTier enumerates the values for b2c resource sku tier.

const (
	// A0 The SKU tier used for all Azure AD B2C tenants.
	A0 B2CResourceSKUTier = "A0"
)

func PossibleB2CResourceSKUTierValues

func PossibleB2CResourceSKUTierValues() []B2CResourceSKUTier

PossibleB2CResourceSKUTierValues returns an array of possible values for the B2CResourceSKUTier const type.

type B2CTenantResource

type B2CTenantResource struct {
	autorest.Response `json:"-"`
	// Type - READ-ONLY; The type of the B2C tenant resource. Possible values include: 'MicrosoftAzureActiveDirectoryb2cDirectories'
	Type TypeValue       `json:"type,omitempty"`
	Sku  *B2CResourceSKU `json:"sku,omitempty"`
	// B2CTenantResourceProperties - The B2C tenant resource properties
	*B2CTenantResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; An identifier that represents the B2C tenant resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the B2C tenant resource.
	Name *string `json:"name,omitempty"`
	// Location - The location in which the resource is hosted and data resides. Refer to [this documentation](https://aka.ms/B2CDataResidency) to see valid data residency locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
	Location *string `json:"location,omitempty"`
	// Tags - Resource Tags
	Tags map[string]*string `json:"tags"`
}

B2CTenantResource ...

func (B2CTenantResource) MarshalJSON

func (btr B2CTenantResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for B2CTenantResource.

func (*B2CTenantResource) UnmarshalJSON

func (btr *B2CTenantResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for B2CTenantResource struct.

type B2CTenantResourceList

type B2CTenantResourceList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of guest usages resources
	Value *[]B2CTenantResource `json:"value,omitempty"`
}

B2CTenantResourceList the collection of Azure AD B2C tenant resources

type B2CTenantResourceProperties

type B2CTenantResourceProperties struct {
	// BillingConfig - The billing configuration for the tenant.
	BillingConfig *B2CTenantResourcePropertiesBillingConfig `json:"billingConfig,omitempty"`
	// TenantID - An identifier of the B2C tenant.
	TenantID *string `json:"tenantId,omitempty"`
}

B2CTenantResourceProperties properties of the Azure AD B2C tenant Azure resource.

type B2CTenantResourcePropertiesBillingConfig

type B2CTenantResourcePropertiesBillingConfig struct {
	// BillingType - The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cbilling). Possible values include: 'MAU', 'Auths'
	BillingType BillingType `json:"billingType,omitempty"`
	// EffectiveStartDateUtc - READ-ONLY; The data from which the billing type took effect
	EffectiveStartDateUtc *string `json:"effectiveStartDateUtc,omitempty"`
}

B2CTenantResourcePropertiesBillingConfig the billing configuration for the tenant.

func (B2CTenantResourcePropertiesBillingConfig) MarshalJSON

func (btrpC B2CTenantResourcePropertiesBillingConfig) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for B2CTenantResourcePropertiesBillingConfig.

type B2CTenantUpdateRequest

type B2CTenantUpdateRequest struct {
	Sku *B2CResourceSKU `json:"sku,omitempty"`
	// B2CTenantResourceProperties - The Azure AD B2C tenant resource properties.
	*B2CTenantResourceProperties `json:"properties,omitempty"`
	// Tags - Resource Tags
	Tags map[string]*string `json:"tags"`
}

B2CTenantUpdateRequest the request body to update the Azure AD B2C tenant resource.

func (B2CTenantUpdateRequest) MarshalJSON

func (btur B2CTenantUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for B2CTenantUpdateRequest.

func (*B2CTenantUpdateRequest) UnmarshalJSON

func (btur *B2CTenantUpdateRequest) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for B2CTenantUpdateRequest struct.

type B2CTenantsClient

type B2CTenantsClient struct {
	BaseClient
}

B2CTenantsClient is the CPIM Configuration Client

func NewB2CTenantsClient

func NewB2CTenantsClient(subscriptionID string) B2CTenantsClient

NewB2CTenantsClient creates an instance of the B2CTenantsClient client.

func NewB2CTenantsClientWithBaseURI

func NewB2CTenantsClientWithBaseURI(baseURI string, subscriptionID string) B2CTenantsClient

NewB2CTenantsClientWithBaseURI creates an instance of the B2CTenantsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (B2CTenantsClient) CheckNameAvailability

func (client B2CTenantsClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityRequestBody *CheckNameAvailabilityRequestBody) (result NameAvailabilityResponse, err error)

CheckNameAvailability checks the availability and validity of a domain name for the tenant.

func (B2CTenantsClient) CheckNameAvailabilityPreparer

func (client B2CTenantsClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityRequestBody *CheckNameAvailabilityRequestBody) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (B2CTenantsClient) CheckNameAvailabilityResponder

func (client B2CTenantsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (B2CTenantsClient) CheckNameAvailabilitySender

func (client B2CTenantsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) Create

func (client B2CTenantsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, createTenantRequestBody *CreateTenantRequestBody) (result B2CTenantsCreateFuture, err error)

Create initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the B2C tenant.

func (B2CTenantsClient) CreatePreparer

func (client B2CTenantsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, createTenantRequestBody *CreateTenantRequestBody) (*http.Request, error)

CreatePreparer prepares the Create request.

func (B2CTenantsClient) CreateResponder

func (client B2CTenantsClient) CreateResponder(resp *http.Response) (result B2CTenantResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (B2CTenantsClient) CreateSender

func (client B2CTenantsClient) CreateSender(req *http.Request) (future B2CTenantsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) Delete

func (client B2CTenantsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantsDeleteFuture, err error)

Delete initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can only happen as the last step in [the tenant deletion process](https://aka.ms/deleteB2Ctenant). Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the B2C tenant.

func (B2CTenantsClient) DeletePreparer

func (client B2CTenantsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (B2CTenantsClient) DeleteResponder

func (client B2CTenantsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (B2CTenantsClient) DeleteSender

func (client B2CTenantsClient) DeleteSender(req *http.Request) (future B2CTenantsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) Get

func (client B2CTenantsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantResource, err error)

Get get the Azure AD B2C tenant resource. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the B2C tenant.

func (B2CTenantsClient) GetPreparer

func (client B2CTenantsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (B2CTenantsClient) GetResponder

func (client B2CTenantsClient) GetResponder(resp *http.Response) (result B2CTenantResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (B2CTenantsClient) GetSender

func (client B2CTenantsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) ListByResourceGroup

func (client B2CTenantsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result B2CTenantResourceList, err error)

ListByResourceGroup get all the Azure AD B2C tenant resources in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (B2CTenantsClient) ListByResourceGroupPreparer

func (client B2CTenantsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (B2CTenantsClient) ListByResourceGroupResponder

func (client B2CTenantsClient) ListByResourceGroupResponder(resp *http.Response) (result B2CTenantResourceList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (B2CTenantsClient) ListByResourceGroupSender

func (client B2CTenantsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) ListBySubscription

func (client B2CTenantsClient) ListBySubscription(ctx context.Context) (result B2CTenantResourceList, err error)

ListBySubscription get all the Azure AD B2C tenant resources in a subscription.

func (B2CTenantsClient) ListBySubscriptionPreparer

func (client B2CTenantsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (B2CTenantsClient) ListBySubscriptionResponder

func (client B2CTenantsClient) ListBySubscriptionResponder(resp *http.Response) (result B2CTenantResourceList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (B2CTenantsClient) ListBySubscriptionSender

func (client B2CTenantsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (B2CTenantsClient) Update

func (client B2CTenantsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, updateTenantRequestBody *B2CTenantUpdateRequest) (result B2CTenantResource, err error)

Update update the Azure AD B2C tenant resource. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the B2C tenant.

func (B2CTenantsClient) UpdatePreparer

func (client B2CTenantsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, updateTenantRequestBody *B2CTenantUpdateRequest) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (B2CTenantsClient) UpdateResponder

func (client B2CTenantsClient) UpdateResponder(resp *http.Response) (result B2CTenantResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (B2CTenantsClient) UpdateSender

func (client B2CTenantsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type B2CTenantsCreateFuture

type B2CTenantsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(B2CTenantsClient) (B2CTenantResource, error)
}

B2CTenantsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type B2CTenantsDeleteFuture

type B2CTenantsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(B2CTenantsClient) (autorest.Response, error)
}

B2CTenantsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Azureadb2c.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BillingType

type BillingType string

BillingType enumerates the values for billing type.

const (
	// Auths Azure AD B2C usage is billed to a linked Azure subscription and uses number of authentications
	// based billing.
	Auths BillingType = "Auths"
	// MAU Azure AD B2C usage is billed to a linked Azure subscription and uses a monthly active users (MAU)
	// billing model.
	MAU BillingType = "MAU"
)

func PossibleBillingTypeValues

func PossibleBillingTypeValues() []BillingType

PossibleBillingTypeValues returns an array of possible values for the BillingType const type.

type CheckNameAvailabilityRequestBody

type CheckNameAvailabilityRequestBody struct {
	// Name - The domain name to check for availability.
	Name        *string `json:"name,omitempty"`
	CountryCode *string `json:"countryCode,omitempty"`
}

CheckNameAvailabilityRequestBody the information required to check the availability of the name for the tenant.

type CloudError

type CloudError struct {
	Error *ErrorResponse `json:"error,omitempty"`
}

CloudError an error response for a resource management request.

type CreateTenantProperties

type CreateTenantProperties struct {
	// DisplayName - The display name of the B2C tenant.
	DisplayName *string `json:"displayName,omitempty"`
	CountryCode *string `json:"countryCode,omitempty"`
}

CreateTenantProperties these properties are used to create the Azure AD B2C tenant. These properties are not part of the Azure resource.

type CreateTenantRequestBody

type CreateTenantRequestBody struct {
	// Location - The location in which the resource is hosted and data resides. Refer to [this documentation](https://aka.ms/B2CDataResidency) to see valid data residency locations. Please choose one of 'United States', 'Europe', and 'Asia Pacific'.
	Location   *string                            `json:"location,omitempty"`
	Properties *CreateTenantRequestBodyProperties `json:"properties,omitempty"`
	Sku        *B2CResourceSKU                    `json:"sku,omitempty"`
	// Tags - Resource Tags
	Tags map[string]*string `json:"tags"`
}

CreateTenantRequestBody the information needed to create the Azure AD B2C tenant and corresponding Azure resource, which is used for billing purposes.

func (CreateTenantRequestBody) MarshalJSON

func (ctrb CreateTenantRequestBody) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateTenantRequestBody.

type CreateTenantRequestBodyProperties

type CreateTenantRequestBodyProperties struct {
	*CreateTenantProperties `json:"createTenantProperties,omitempty"`
}

CreateTenantRequestBodyProperties ...

func (CreateTenantRequestBodyProperties) MarshalJSON

func (ctrb CreateTenantRequestBodyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateTenantRequestBodyProperties.

func (*CreateTenantRequestBodyProperties) UnmarshalJSON

func (ctrb *CreateTenantRequestBodyProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateTenantRequestBodyProperties struct.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorResponse

type ErrorResponse struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorResponse `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

type NameAvailabilityReasonType

type NameAvailabilityReasonType string

NameAvailabilityReasonType enumerates the values for name availability reason type.

const (
	// AlreadyExists The name is already in use and is therefore unavailable.
	AlreadyExists NameAvailabilityReasonType = "AlreadyExists"
	// Invalid The name provided does not match the resource provider’s naming requirements (incorrect length,
	// unsupported characters, etc.).
	Invalid NameAvailabilityReasonType = "Invalid"
)

func PossibleNameAvailabilityReasonTypeValues

func PossibleNameAvailabilityReasonTypeValues() []NameAvailabilityReasonType

PossibleNameAvailabilityReasonTypeValues returns an array of possible values for the NameAvailabilityReasonType const type.

type NameAvailabilityResponse

type NameAvailabilityResponse struct {
	autorest.Response `json:"-"`
	// Message - Description of the reason if name is not available.
	Message *string `json:"message,omitempty"`
	// NameAvailable - True if the name is available and can be used to create a new tenant. Otherwise false.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - Possible values include: 'AlreadyExists', 'Invalid'
	Reason NameAvailabilityReasonType `json:"reason,omitempty"`
}

NameAvailabilityResponse response of the CheckNameAvailability operation.

type Operation

type Operation struct {
	// Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
}

Operation microsoft.AzureActiveDirectory REST API operation.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Service provider: Microsoft.AzureActiveDirectory.
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource on which the operation is performed: GuestUsages, etc.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Operation type: Read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Friendly name of the operation
	Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

func (OperationDisplay) MarshalJSON

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of cpim service operations supported by the Microsoft.AzureActiveDirectory resource provider.
	Value *[]Operation `json:"value,omitempty"`
}

OperationListResult result of listing operations for the resourceProvider

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the CPIM Configuration Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) GetAsyncStatus

func (client OperationsClient) GetAsyncStatus(ctx context.Context, operationID string) (result AsyncOperationStatus, err error)

GetAsyncStatus gets the status of the async operation. Parameters: operationID - the operation ID.

func (OperationsClient) GetAsyncStatusPreparer

func (client OperationsClient) GetAsyncStatusPreparer(ctx context.Context, operationID string) (*http.Request, error)

GetAsyncStatusPreparer prepares the GetAsyncStatus request.

func (OperationsClient) GetAsyncStatusResponder

func (client OperationsClient) GetAsyncStatusResponder(resp *http.Response) (result AsyncOperationStatus, err error)

GetAsyncStatusResponder handles the response to the GetAsyncStatus request. The method always closes the http.Response Body.

func (OperationsClient) GetAsyncStatusSender

func (client OperationsClient) GetAsyncStatusSender(req *http.Request) (*http.Response, error)

GetAsyncStatusSender sends the GetAsyncStatus request. The method will close the http.Response Body if it receives an error.

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List lists the operations available from this provider.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type StatusType

type StatusType string

StatusType enumerates the values for status type.

const (
	// Failed The operation failed.
	Failed StatusType = "Failed"
	// Pending The operation is pending.
	Pending StatusType = "Pending"
	// Succeeded The operation succeeded.
	Succeeded StatusType = "Succeeded"
)

func PossibleStatusTypeValues

func PossibleStatusTypeValues() []StatusType

PossibleStatusTypeValues returns an array of possible values for the StatusType const type.

type TypeValue

type TypeValue string

TypeValue enumerates the values for type value.

const (
	// MicrosoftAzureActiveDirectoryb2cDirectories The resource type for Azure AD B2C tenant resource.
	MicrosoftAzureActiveDirectoryb2cDirectories TypeValue = "Microsoft.AzureActiveDirectory/b2cDirectories"
)

func PossibleTypeValueValues

func PossibleTypeValueValues() []TypeValue

PossibleTypeValueValues returns an array of possible values for the TypeValue const type.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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