batchaccount

package
v0.20231127.1195240 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount Documentation

The batchaccount SDK allows for interaction with the Azure Resource Manager Service batch (API Version 2023-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/batch/2023-05-01/batchaccount"

Client Initialization

client := batchaccount.NewBatchAccountClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BatchAccountClient.Create

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

payload := batchaccount.BatchAccountCreateParameters{
	// ...
}


if err := client.CreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BatchAccountClient.Delete

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: BatchAccountClient.Get

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BatchAccountClient.GetKeys

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

read, err := client.GetKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BatchAccountClient.List

ctx := context.TODO()
id := batchaccount.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BatchAccountClient.ListByResourceGroup

ctx := context.TODO()
id := batchaccount.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BatchAccountClient.ListOutboundNetworkDependenciesEndpoints

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

// alternatively `client.ListOutboundNetworkDependenciesEndpoints(ctx, id)` can be used to do batched pagination
items, err := client.ListOutboundNetworkDependenciesEndpointsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BatchAccountClient.RegenerateKey

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

payload := batchaccount.BatchAccountRegenerateKeyParameters{
	// ...
}


read, err := client.RegenerateKey(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BatchAccountClient.SynchronizeAutoStorageKeys

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

read, err := client.SynchronizeAutoStorageKeys(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BatchAccountClient.Update

ctx := context.TODO()
id := batchaccount.NewBatchAccountID("12345678-1234-9876-4563-123456789012", "example-resource-group", "batchAccountValue")

payload := batchaccount.BatchAccountUpdateParameters{
	// ...
}


read, err := client.Update(ctx, id, payload)
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 PossibleValuesForAccountKeyType

func PossibleValuesForAccountKeyType() []string

func PossibleValuesForAuthenticationMode

func PossibleValuesForAuthenticationMode() []string

func PossibleValuesForAutoStorageAuthenticationMode

func PossibleValuesForAutoStorageAuthenticationMode() []string

func PossibleValuesForEndpointAccessDefaultAction

func PossibleValuesForEndpointAccessDefaultAction() []string

func PossibleValuesForIPRuleAction

func PossibleValuesForIPRuleAction() []string

func PossibleValuesForKeySource

func PossibleValuesForKeySource() []string

func PossibleValuesForPoolAllocationMode

func PossibleValuesForPoolAllocationMode() []string

func PossibleValuesForPrivateEndpointConnectionProvisioningState

func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string

func PossibleValuesForPrivateLinkServiceConnectionStatus

func PossibleValuesForPrivateLinkServiceConnectionStatus() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicNetworkAccessType

func PossibleValuesForPublicNetworkAccessType() []string

func ValidateBatchAccountID

func ValidateBatchAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateBatchAccountID checks that 'input' can be parsed as a Batch Account ID

Types

type AccountKeyType

type AccountKeyType string
const (
	AccountKeyTypePrimary   AccountKeyType = "Primary"
	AccountKeyTypeSecondary AccountKeyType = "Secondary"
)

func (*AccountKeyType) UnmarshalJSON

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

type AuthenticationMode

type AuthenticationMode string
const (
	AuthenticationModeAAD                     AuthenticationMode = "AAD"
	AuthenticationModeSharedKey               AuthenticationMode = "SharedKey"
	AuthenticationModeTaskAuthenticationToken AuthenticationMode = "TaskAuthenticationToken"
)

func (*AuthenticationMode) UnmarshalJSON

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

type AutoStorageAuthenticationMode

type AutoStorageAuthenticationMode string
const (
	AutoStorageAuthenticationModeBatchAccountManagedIdentity AutoStorageAuthenticationMode = "BatchAccountManagedIdentity"
	AutoStorageAuthenticationModeStorageKeys                 AutoStorageAuthenticationMode = "StorageKeys"
)

func (*AutoStorageAuthenticationMode) UnmarshalJSON

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

type AutoStorageBaseProperties

type AutoStorageBaseProperties struct {
	AuthenticationMode    *AutoStorageAuthenticationMode `json:"authenticationMode,omitempty"`
	NodeIdentityReference *ComputeNodeIdentityReference  `json:"nodeIdentityReference,omitempty"`
	StorageAccountId      *string                        `json:"storageAccountId,omitempty"`
}

type AutoStorageProperties

type AutoStorageProperties struct {
	AuthenticationMode    *AutoStorageAuthenticationMode `json:"authenticationMode,omitempty"`
	LastKeySync           string                         `json:"lastKeySync"`
	NodeIdentityReference *ComputeNodeIdentityReference  `json:"nodeIdentityReference,omitempty"`
	StorageAccountId      string                         `json:"storageAccountId"`
}

func (*AutoStorageProperties) GetLastKeySyncAsTime

func (o *AutoStorageProperties) GetLastKeySyncAsTime() (*time.Time, error)

func (*AutoStorageProperties) SetLastKeySyncAsTime

func (o *AutoStorageProperties) SetLastKeySyncAsTime(input time.Time)

type BatchAccount

type BatchAccount struct {
	Id         *string                           `json:"id,omitempty"`
	Identity   *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Location   *string                           `json:"location,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *BatchAccountProperties           `json:"properties,omitempty"`
	Tags       *map[string]string                `json:"tags,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type BatchAccountClient

type BatchAccountClient struct {
	Client *resourcemanager.Client
}

func NewBatchAccountClientWithBaseURI

func NewBatchAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*BatchAccountClient, error)

func (BatchAccountClient) Create

Create ...

func (BatchAccountClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (BatchAccountClient) Delete

Delete ...

func (BatchAccountClient) DeleteThenPoll

func (c BatchAccountClient) DeleteThenPoll(ctx context.Context, id BatchAccountId) error

DeleteThenPoll performs Delete then polls until it's completed

func (BatchAccountClient) Get

Get ...

func (BatchAccountClient) GetKeys

GetKeys ...

func (BatchAccountClient) List

List ...

func (BatchAccountClient) ListByResourceGroup

ListByResourceGroup ...

func (BatchAccountClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (BatchAccountClient) ListByResourceGroupCompleteMatchingPredicate

func (c BatchAccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate BatchAccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BatchAccountClient) ListComplete

ListComplete retrieves all the results into a single object

func (BatchAccountClient) ListCompleteMatchingPredicate

func (c BatchAccountClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate BatchAccountOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BatchAccountClient) ListOutboundNetworkDependenciesEndpoints

func (c BatchAccountClient) ListOutboundNetworkDependenciesEndpoints(ctx context.Context, id BatchAccountId) (result ListOutboundNetworkDependenciesEndpointsOperationResponse, err error)

ListOutboundNetworkDependenciesEndpoints ...

func (BatchAccountClient) ListOutboundNetworkDependenciesEndpointsComplete

func (c BatchAccountClient) ListOutboundNetworkDependenciesEndpointsComplete(ctx context.Context, id BatchAccountId) (ListOutboundNetworkDependenciesEndpointsCompleteResult, error)

ListOutboundNetworkDependenciesEndpointsComplete retrieves all the results into a single object

func (BatchAccountClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate

func (c BatchAccountClient) ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, predicate OutboundEnvironmentEndpointOperationPredicate) (result ListOutboundNetworkDependenciesEndpointsCompleteResult, err error)

ListOutboundNetworkDependenciesEndpointsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BatchAccountClient) RegenerateKey

RegenerateKey ...

func (BatchAccountClient) SynchronizeAutoStorageKeys

func (c BatchAccountClient) SynchronizeAutoStorageKeys(ctx context.Context, id BatchAccountId) (result SynchronizeAutoStorageKeysOperationResponse, err error)

SynchronizeAutoStorageKeys ...

func (BatchAccountClient) Update

Update ...

type BatchAccountCreateParameters

type BatchAccountCreateParameters struct {
	Identity   *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Location   string                            `json:"location"`
	Properties *BatchAccountCreateProperties     `json:"properties,omitempty"`
	Tags       *map[string]string                `json:"tags,omitempty"`
}

type BatchAccountCreateProperties

type BatchAccountCreateProperties struct {
	AllowedAuthenticationModes *[]AuthenticationMode      `json:"allowedAuthenticationModes,omitempty"`
	AutoStorage                *AutoStorageBaseProperties `json:"autoStorage,omitempty"`
	Encryption                 *EncryptionProperties      `json:"encryption,omitempty"`
	KeyVaultReference          *KeyVaultReference         `json:"keyVaultReference,omitempty"`
	NetworkProfile             *NetworkProfile            `json:"networkProfile,omitempty"`
	PoolAllocationMode         *PoolAllocationMode        `json:"poolAllocationMode,omitempty"`
	PublicNetworkAccess        *PublicNetworkAccessType   `json:"publicNetworkAccess,omitempty"`
}

type BatchAccountId

type BatchAccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	BatchAccountName  string
}

BatchAccountId is a struct representing the Resource ID for a Batch Account

func NewBatchAccountID

func NewBatchAccountID(subscriptionId string, resourceGroupName string, batchAccountName string) BatchAccountId

NewBatchAccountID returns a new BatchAccountId struct

func ParseBatchAccountID

func ParseBatchAccountID(input string) (*BatchAccountId, error)

ParseBatchAccountID parses 'input' into a BatchAccountId

func ParseBatchAccountIDInsensitively

func ParseBatchAccountIDInsensitively(input string) (*BatchAccountId, error)

ParseBatchAccountIDInsensitively parses 'input' case-insensitively into a BatchAccountId note: this method should only be used for API response data and not user input

func (*BatchAccountId) FromParseResult added in v0.20231127.1171502

func (id *BatchAccountId) FromParseResult(input resourceids.ParseResult) error

func (BatchAccountId) ID

func (id BatchAccountId) ID() string

ID returns the formatted Batch Account ID

func (BatchAccountId) Segments

func (id BatchAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Batch Account ID

func (BatchAccountId) String

func (id BatchAccountId) String() string

String returns a human-readable description of this Batch Account ID

type BatchAccountKeys

type BatchAccountKeys struct {
	AccountName *string `json:"accountName,omitempty"`
	Primary     *string `json:"primary,omitempty"`
	Secondary   *string `json:"secondary,omitempty"`
}

type BatchAccountOperationPredicate

type BatchAccountOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (BatchAccountOperationPredicate) Matches

type BatchAccountProperties

type BatchAccountProperties struct {
	AccountEndpoint                       *string                          `json:"accountEndpoint,omitempty"`
	ActiveJobAndJobScheduleQuota          *int64                           `json:"activeJobAndJobScheduleQuota,omitempty"`
	AllowedAuthenticationModes            *[]AuthenticationMode            `json:"allowedAuthenticationModes,omitempty"`
	AutoStorage                           *AutoStorageProperties           `json:"autoStorage,omitempty"`
	DedicatedCoreQuota                    *int64                           `json:"dedicatedCoreQuota,omitempty"`
	DedicatedCoreQuotaPerVMFamily         *[]VirtualMachineFamilyCoreQuota `json:"dedicatedCoreQuotaPerVMFamily,omitempty"`
	DedicatedCoreQuotaPerVMFamilyEnforced *bool                            `json:"dedicatedCoreQuotaPerVMFamilyEnforced,omitempty"`
	Encryption                            *EncryptionProperties            `json:"encryption,omitempty"`
	KeyVaultReference                     *KeyVaultReference               `json:"keyVaultReference,omitempty"`
	LowPriorityCoreQuota                  *int64                           `json:"lowPriorityCoreQuota,omitempty"`
	NetworkProfile                        *NetworkProfile                  `json:"networkProfile,omitempty"`
	NodeManagementEndpoint                *string                          `json:"nodeManagementEndpoint,omitempty"`
	PoolAllocationMode                    *PoolAllocationMode              `json:"poolAllocationMode,omitempty"`
	PoolQuota                             *int64                           `json:"poolQuota,omitempty"`
	PrivateEndpointConnections            *[]PrivateEndpointConnection     `json:"privateEndpointConnections,omitempty"`
	ProvisioningState                     *ProvisioningState               `json:"provisioningState,omitempty"`
	PublicNetworkAccess                   *PublicNetworkAccessType         `json:"publicNetworkAccess,omitempty"`
}

type BatchAccountRegenerateKeyParameters

type BatchAccountRegenerateKeyParameters struct {
	KeyName AccountKeyType `json:"keyName"`
}

type BatchAccountUpdateParameters

type BatchAccountUpdateParameters struct {
	Identity   *identity.SystemOrUserAssignedMap `json:"identity,omitempty"`
	Properties *BatchAccountUpdateProperties     `json:"properties,omitempty"`
	Tags       *map[string]string                `json:"tags,omitempty"`
}

type BatchAccountUpdateProperties

type BatchAccountUpdateProperties struct {
	AllowedAuthenticationModes *[]AuthenticationMode      `json:"allowedAuthenticationModes,omitempty"`
	AutoStorage                *AutoStorageBaseProperties `json:"autoStorage,omitempty"`
	Encryption                 *EncryptionProperties      `json:"encryption,omitempty"`
	NetworkProfile             *NetworkProfile            `json:"networkProfile,omitempty"`
	PublicNetworkAccess        *PublicNetworkAccessType   `json:"publicNetworkAccess,omitempty"`
}

type ComputeNodeIdentityReference

type ComputeNodeIdentityReference struct {
	ResourceId *string `json:"resourceId,omitempty"`
}

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type EncryptionProperties

type EncryptionProperties struct {
	KeySource          *KeySource          `json:"keySource,omitempty"`
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

type EndpointAccessDefaultAction

type EndpointAccessDefaultAction string
const (
	EndpointAccessDefaultActionAllow EndpointAccessDefaultAction = "Allow"
	EndpointAccessDefaultActionDeny  EndpointAccessDefaultAction = "Deny"
)

func (*EndpointAccessDefaultAction) UnmarshalJSON

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

type EndpointAccessProfile

type EndpointAccessProfile struct {
	DefaultAction EndpointAccessDefaultAction `json:"defaultAction"`
	IPRules       *[]IPRule                   `json:"ipRules,omitempty"`
}

type EndpointDependency

type EndpointDependency struct {
	Description     *string           `json:"description,omitempty"`
	DomainName      *string           `json:"domainName,omitempty"`
	EndpointDetails *[]EndpointDetail `json:"endpointDetails,omitempty"`
}

type EndpointDetail

type EndpointDetail struct {
	Port *int64 `json:"port,omitempty"`
}

type GetKeysOperationResponse

type GetKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchAccountKeys
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchAccount
}

type IPRule

type IPRule struct {
	Action IPRuleAction `json:"action"`
	Value  string       `json:"value"`
}

type IPRuleAction

type IPRuleAction string
const (
	IPRuleActionAllow IPRuleAction = "Allow"
)

func (*IPRuleAction) UnmarshalJSON

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

type KeySource

type KeySource string
const (
	KeySourceMicrosoftPointBatch    KeySource = "Microsoft.Batch"
	KeySourceMicrosoftPointKeyVault KeySource = "Microsoft.KeyVault"
)

func (*KeySource) UnmarshalJSON

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

type KeyVaultProperties

type KeyVaultProperties struct {
	KeyIdentifier *string `json:"keyIdentifier,omitempty"`
}

type KeyVaultReference

type KeyVaultReference struct {
	Id  string `json:"id"`
	Url string `json:"url"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []BatchAccount
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BatchAccount
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []BatchAccount
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BatchAccount
}

type ListOutboundNetworkDependenciesEndpointsCompleteResult

type ListOutboundNetworkDependenciesEndpointsCompleteResult struct {
	Items []OutboundEnvironmentEndpoint
}

type ListOutboundNetworkDependenciesEndpointsOperationResponse

type ListOutboundNetworkDependenciesEndpointsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]OutboundEnvironmentEndpoint
}

type NetworkProfile

type NetworkProfile struct {
	AccountAccess        *EndpointAccessProfile `json:"accountAccess,omitempty"`
	NodeManagementAccess *EndpointAccessProfile `json:"nodeManagementAccess,omitempty"`
}

type OutboundEnvironmentEndpoint

type OutboundEnvironmentEndpoint struct {
	Category  *string               `json:"category,omitempty"`
	Endpoints *[]EndpointDependency `json:"endpoints,omitempty"`
}

type OutboundEnvironmentEndpointOperationPredicate

type OutboundEnvironmentEndpointOperationPredicate struct {
	Category *string
}

func (OutboundEnvironmentEndpointOperationPredicate) Matches

type PoolAllocationMode

type PoolAllocationMode string
const (
	PoolAllocationModeBatchService     PoolAllocationMode = "BatchService"
	PoolAllocationModeUserSubscription PoolAllocationMode = "UserSubscription"
)

func (*PoolAllocationMode) UnmarshalJSON

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

type PrivateEndpoint

type PrivateEndpoint struct {
	Id *string `json:"id,omitempty"`
}

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	Etag       *string                              `json:"etag,omitempty"`
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	GroupIds                          *[]string                                   `json:"groupIds,omitempty"`
	PrivateEndpoint                   *PrivateEndpoint                            `json:"privateEndpoint,omitempty"`
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState          `json:"privateLinkServiceConnectionState,omitempty"`
	ProvisioningState                 *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string
const (
	PrivateEndpointConnectionProvisioningStateCancelled PrivateEndpointConnectionProvisioningState = "Cancelled"
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
	PrivateEndpointConnectionProvisioningStateUpdating  PrivateEndpointConnectionProvisioningState = "Updating"
)

func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON

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

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	ActionsRequired *string                            `json:"actionsRequired,omitempty"`
	Description     *string                            `json:"description,omitempty"`
	Status          PrivateLinkServiceConnectionStatus `json:"status"`
}

type PrivateLinkServiceConnectionStatus

type PrivateLinkServiceConnectionStatus string
const (
	PrivateLinkServiceConnectionStatusApproved     PrivateLinkServiceConnectionStatus = "Approved"
	PrivateLinkServiceConnectionStatusDisconnected PrivateLinkServiceConnectionStatus = "Disconnected"
	PrivateLinkServiceConnectionStatusPending      PrivateLinkServiceConnectionStatus = "Pending"
	PrivateLinkServiceConnectionStatusRejected     PrivateLinkServiceConnectionStatus = "Rejected"
)

func (*PrivateLinkServiceConnectionStatus) UnmarshalJSON

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

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCancelled ProvisioningState = "Cancelled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateInvalid   ProvisioningState = "Invalid"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

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

type PublicNetworkAccessType

type PublicNetworkAccessType string
const (
	PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled"
	PublicNetworkAccessTypeEnabled  PublicNetworkAccessType = "Enabled"
)

func (*PublicNetworkAccessType) UnmarshalJSON

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

type RegenerateKeyOperationResponse

type RegenerateKeyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchAccountKeys
}

type SynchronizeAutoStorageKeysOperationResponse

type SynchronizeAutoStorageKeysOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BatchAccount
}

type VirtualMachineFamilyCoreQuota

type VirtualMachineFamilyCoreQuota struct {
	CoreQuota *int64  `json:"coreQuota,omitempty"`
	Name      *string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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