Documentation ¶
Index ¶
- func PossibleValuesForName() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForStatus() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccessKeys
- type Account
- type AccountClient
- func (c AccountClient) AddRootCollectionAdmin(ctx context.Context, id AccountId, input CollectionAdminUpdate) (result AddRootCollectionAdminOperationResponse, err error)
- func (c AccountClient) CreateOrUpdate(ctx context.Context, id AccountId, input Account) (result CreateOrUpdateOperationResponse, err error)
- func (c AccountClient) CreateOrUpdateThenPoll(ctx context.Context, id AccountId, input Account) error
- func (c AccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
- func (c AccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
- func (c AccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
- func (c AccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c AccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c AccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c AccountClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c AccountClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c AccountClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysOperationResponse, err error)
- func (c AccountClient) Update(ctx context.Context, id AccountId, input AccountUpdateParameters) (result UpdateOperationResponse, err error)
- func (c AccountClient) UpdateThenPoll(ctx context.Context, id AccountId, input AccountUpdateParameters) error
- type AccountEndpoints
- type AccountId
- type AccountOperationPredicate
- type AccountProperties
- type AccountSku
- type AccountUpdateParameters
- type AddRootCollectionAdminOperationResponse
- type CloudConnectors
- type CollectionAdminUpdate
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListKeysOperationResponse
- type ManagedResources
- type Name
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateLinkServiceConnectionState
- type ProvisioningState
- type PublicNetworkAccess
- type Status
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForName ¶
func PossibleValuesForName() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
Types ¶
type AccessKeys ¶
type Account ¶
type Account struct { Id *string `json:"id,omitempty"` Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *AccountProperties `json:"properties,omitempty"` Sku *AccountSku `json:"sku,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AccountClient ¶
type AccountClient struct {
Client *resourcemanager.Client
}
func NewAccountClientWithBaseURI ¶
func NewAccountClientWithBaseURI(sdkApi sdkEnv.Api) (*AccountClient, error)
func (AccountClient) AddRootCollectionAdmin ¶
func (c AccountClient) AddRootCollectionAdmin(ctx context.Context, id AccountId, input CollectionAdminUpdate) (result AddRootCollectionAdminOperationResponse, err error)
AddRootCollectionAdmin ...
func (AccountClient) CreateOrUpdate ¶
func (c AccountClient) CreateOrUpdate(ctx context.Context, id AccountId, input Account) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AccountClient) CreateOrUpdateThenPoll ¶
func (c AccountClient) CreateOrUpdateThenPoll(ctx context.Context, id AccountId, input Account) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AccountClient) Delete ¶
func (c AccountClient) Delete(ctx context.Context, id AccountId) (result DeleteOperationResponse, err error)
Delete ...
func (AccountClient) DeleteThenPoll ¶
func (c AccountClient) DeleteThenPoll(ctx context.Context, id AccountId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AccountClient) Get ¶
func (c AccountClient) Get(ctx context.Context, id AccountId) (result GetOperationResponse, err error)
Get ...
func (AccountClient) ListByResourceGroup ¶
func (c AccountClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (AccountClient) ListByResourceGroupComplete ¶
func (c AccountClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (AccountClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c AccountClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountClient) ListBySubscription ¶
func (c AccountClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (AccountClient) ListBySubscriptionComplete ¶
func (c AccountClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (AccountClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c AccountClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AccountClient) ListKeys ¶
func (c AccountClient) ListKeys(ctx context.Context, id AccountId) (result ListKeysOperationResponse, err error)
ListKeys ...
func (AccountClient) Update ¶
func (c AccountClient) Update(ctx context.Context, id AccountId, input AccountUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
func (AccountClient) UpdateThenPoll ¶
func (c AccountClient) UpdateThenPoll(ctx context.Context, id AccountId, input AccountUpdateParameters) error
UpdateThenPoll performs Update then polls until it's completed
type AccountEndpoints ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (*AccountId) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type AccountOperationPredicate ¶
func (AccountOperationPredicate) Matches ¶
func (p AccountOperationPredicate) Matches(input Account) bool
type AccountProperties ¶
type AccountProperties struct { CloudConnectors *CloudConnectors `json:"cloudConnectors,omitempty"` CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByObjectId *string `json:"createdByObjectId,omitempty"` Endpoints *AccountEndpoints `json:"endpoints,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ManagedResourceGroupName *string `json:"managedResourceGroupName,omitempty"` ManagedResources *ManagedResources `json:"managedResources,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
func (*AccountProperties) GetCreatedAtAsTime ¶
func (o *AccountProperties) GetCreatedAtAsTime() (*time.Time, error)
func (*AccountProperties) SetCreatedAtAsTime ¶
func (o *AccountProperties) SetCreatedAtAsTime(input time.Time)
type AccountSku ¶
type AccountUpdateParameters ¶
type AccountUpdateParameters struct { Identity *identity.SystemOrUserAssignedMap `json:"identity,omitempty"` Properties *AccountProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type CloudConnectors ¶
type CloudConnectors struct {
AwsExternalId *string `json:"awsExternalId,omitempty"`
}
type CollectionAdminUpdate ¶
type CollectionAdminUpdate struct {
ObjectId *string `json:"objectId,omitempty"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListKeysOperationResponse ¶
type ListKeysOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessKeys }
type ManagedResources ¶
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { 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 { PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateSoftDeleted ProvisioningState = "SoftDeleted" ProvisioningStateSoftDeleting ProvisioningState = "SoftDeleting" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUnknown ProvisioningState = "Unknown" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" PublicNetworkAccessNotSpecified PublicNetworkAccess = "NotSpecified" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_addrootcollectionadmin.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listkeys.go
- method_update.go
- model_accesskeys.go
- model_account.go
- model_accountendpoints.go
- model_accountproperties.go
- model_accountsku.go
- model_accountupdateparameters.go
- model_cloudconnectors.go
- model_collectionadminupdate.go
- model_managedresources.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- predicates.go
- version.go