Documentation ¶
Index ¶
- func PossibleValuesForCreatedByType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AccountResource
- type AccountResourceOperationPredicate
- type AccountResourceProperties
- type AccountResourceSystemData
- func (o *AccountResourceSystemData) GetCreatedAtAsTime() (*time.Time, error)
- func (o *AccountResourceSystemData) GetLastModifiedAtAsTime() (*time.Time, error)
- func (o *AccountResourceSystemData) SetCreatedAtAsTime(input time.Time)
- func (o *AccountResourceSystemData) SetLastModifiedAtAsTime(input time.Time)
- type AccountsCreateAndUpdateOperationResponse
- type AccountsDeleteOperationResponse
- type AccountsGetOperationResponse
- type AccountsListByResourceGroupCompleteResult
- type AccountsListByResourceGroupOperationResponse
- type AccountsListBySubscriptionCompleteResult
- type AccountsListBySubscriptionOperationResponse
- type AccountsUpdateOperationResponse
- type CreatedByType
- type GraphservicesprodsClient
- func (c GraphservicesprodsClient) AccountsCreateAndUpdate(ctx context.Context, id AccountId, input AccountResource) (result AccountsCreateAndUpdateOperationResponse, err error)
- func (c GraphservicesprodsClient) AccountsCreateAndUpdateThenPoll(ctx context.Context, id AccountId, input AccountResource) error
- func (c GraphservicesprodsClient) AccountsDelete(ctx context.Context, id AccountId) (result AccountsDeleteOperationResponse, err error)
- func (c GraphservicesprodsClient) AccountsGet(ctx context.Context, id AccountId) (result AccountsGetOperationResponse, err error)
- func (c GraphservicesprodsClient) AccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result AccountsListByResourceGroupOperationResponse, err error)
- func (c GraphservicesprodsClient) AccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (AccountsListByResourceGroupCompleteResult, error)
- func (c GraphservicesprodsClient) AccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result AccountsListByResourceGroupCompleteResult, err error)
- func (c GraphservicesprodsClient) AccountsListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result AccountsListBySubscriptionOperationResponse, err error)
- func (c GraphservicesprodsClient) AccountsListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (AccountsListBySubscriptionCompleteResult, error)
- func (c GraphservicesprodsClient) AccountsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result AccountsListBySubscriptionCompleteResult, err error)
- func (c GraphservicesprodsClient) AccountsUpdate(ctx context.Context, id AccountId, input TagUpdate) (result AccountsUpdateOperationResponse, err error)
- type ProvisioningState
- type TagUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCreatedByType ¶
func PossibleValuesForCreatedByType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
Types ¶
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) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type AccountResource ¶
type AccountResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties AccountResourceProperties `json:"properties"` SystemData *AccountResourceSystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AccountResourceOperationPredicate ¶
type AccountResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (AccountResourceOperationPredicate) Matches ¶
func (p AccountResourceOperationPredicate) Matches(input AccountResource) bool
type AccountResourceProperties ¶
type AccountResourceProperties struct { AppId string `json:"appId"` BillingPlanId *string `json:"billingPlanId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type AccountResourceSystemData ¶
type AccountResourceSystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedByType *CreatedByType `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
func (*AccountResourceSystemData) GetCreatedAtAsTime ¶
func (o *AccountResourceSystemData) GetCreatedAtAsTime() (*time.Time, error)
func (*AccountResourceSystemData) GetLastModifiedAtAsTime ¶
func (o *AccountResourceSystemData) GetLastModifiedAtAsTime() (*time.Time, error)
func (*AccountResourceSystemData) SetCreatedAtAsTime ¶
func (o *AccountResourceSystemData) SetCreatedAtAsTime(input time.Time)
func (*AccountResourceSystemData) SetLastModifiedAtAsTime ¶
func (o *AccountResourceSystemData) SetLastModifiedAtAsTime(input time.Time)
type AccountsGetOperationResponse ¶
type AccountsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountResource }
type AccountsListByResourceGroupCompleteResult ¶
type AccountsListByResourceGroupCompleteResult struct {
Items []AccountResource
}
type AccountsListByResourceGroupOperationResponse ¶
type AccountsListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AccountResource }
type AccountsListBySubscriptionCompleteResult ¶
type AccountsListBySubscriptionCompleteResult struct {
Items []AccountResource
}
type AccountsListBySubscriptionOperationResponse ¶
type AccountsListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AccountResource }
type AccountsUpdateOperationResponse ¶
type AccountsUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccountResource }
type CreatedByType ¶
type CreatedByType string
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func (*CreatedByType) UnmarshalJSON ¶
func (s *CreatedByType) UnmarshalJSON(bytes []byte) error
type GraphservicesprodsClient ¶
type GraphservicesprodsClient struct {
Client *resourcemanager.Client
}
func NewGraphservicesprodsClientWithBaseURI ¶
func NewGraphservicesprodsClientWithBaseURI(sdkApi sdkEnv.Api) (*GraphservicesprodsClient, error)
func (GraphservicesprodsClient) AccountsCreateAndUpdate ¶
func (c GraphservicesprodsClient) AccountsCreateAndUpdate(ctx context.Context, id AccountId, input AccountResource) (result AccountsCreateAndUpdateOperationResponse, err error)
AccountsCreateAndUpdate ...
func (GraphservicesprodsClient) AccountsCreateAndUpdateThenPoll ¶
func (c GraphservicesprodsClient) AccountsCreateAndUpdateThenPoll(ctx context.Context, id AccountId, input AccountResource) error
AccountsCreateAndUpdateThenPoll performs AccountsCreateAndUpdate then polls until it's completed
func (GraphservicesprodsClient) AccountsDelete ¶
func (c GraphservicesprodsClient) AccountsDelete(ctx context.Context, id AccountId) (result AccountsDeleteOperationResponse, err error)
AccountsDelete ...
func (GraphservicesprodsClient) AccountsGet ¶
func (c GraphservicesprodsClient) AccountsGet(ctx context.Context, id AccountId) (result AccountsGetOperationResponse, err error)
AccountsGet ...
func (GraphservicesprodsClient) AccountsListByResourceGroup ¶
func (c GraphservicesprodsClient) AccountsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result AccountsListByResourceGroupOperationResponse, err error)
AccountsListByResourceGroup ...
func (GraphservicesprodsClient) AccountsListByResourceGroupComplete ¶
func (c GraphservicesprodsClient) AccountsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (AccountsListByResourceGroupCompleteResult, error)
AccountsListByResourceGroupComplete retrieves all the results into a single object
func (GraphservicesprodsClient) AccountsListByResourceGroupCompleteMatchingPredicate ¶
func (c GraphservicesprodsClient) AccountsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AccountResourceOperationPredicate) (result AccountsListByResourceGroupCompleteResult, err error)
AccountsListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GraphservicesprodsClient) AccountsListBySubscription ¶
func (c GraphservicesprodsClient) AccountsListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result AccountsListBySubscriptionOperationResponse, err error)
AccountsListBySubscription ...
func (GraphservicesprodsClient) AccountsListBySubscriptionComplete ¶
func (c GraphservicesprodsClient) AccountsListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (AccountsListBySubscriptionCompleteResult, error)
AccountsListBySubscriptionComplete retrieves all the results into a single object
func (GraphservicesprodsClient) AccountsListBySubscriptionCompleteMatchingPredicate ¶
func (c GraphservicesprodsClient) AccountsListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AccountResourceOperationPredicate) (result AccountsListBySubscriptionCompleteResult, err error)
AccountsListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (GraphservicesprodsClient) AccountsUpdate ¶
func (c GraphservicesprodsClient) AccountsUpdate(ctx context.Context, id AccountId, input TagUpdate) (result AccountsUpdateOperationResponse, err error)
AccountsUpdate ...
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_account.go
- method_accountscreateandupdate.go
- method_accountsdelete.go
- method_accountsget.go
- method_accountslistbyresourcegroup.go
- method_accountslistbysubscription.go
- method_accountsupdate.go
- model_accountresource.go
- model_accountresourceproperties.go
- model_accountresourcesystemdata.go
- model_tagupdate.go
- predicates.go
- version.go