Documentation ¶
Index ¶
- func PossibleValuesForAsyncOperationStatus() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AsyncOperationStatus
- type DeployConfigurationParameterProperties
- type DeployConfigurationParameters
- type DeployOperationResponse
- type ErrorFieldContract
- type ErrorResponseBody
- type OperationResultContract
- type OperationResultContractProperties
- func (o *OperationResultContractProperties) GetStartedAsTime() (*time.Time, error)
- func (o *OperationResultContractProperties) GetUpdatedAsTime() (*time.Time, error)
- func (o *OperationResultContractProperties) SetStartedAsTime(input time.Time)
- func (o *OperationResultContractProperties) SetUpdatedAsTime(input time.Time)
- type OperationResultLogItemContract
- type SaveConfigurationParameter
- type SaveConfigurationParameterProperties
- type SaveOperationResponse
- type ServiceId
- type TenantConfigurationClient
- func (c TenantConfigurationClient) Deploy(ctx context.Context, id ServiceId, input DeployConfigurationParameters) (result DeployOperationResponse, err error)
- func (c TenantConfigurationClient) DeployThenPoll(ctx context.Context, id ServiceId, input DeployConfigurationParameters) error
- func (c TenantConfigurationClient) Save(ctx context.Context, id ServiceId, input SaveConfigurationParameter) (result SaveOperationResponse, err error)
- func (c TenantConfigurationClient) SaveThenPoll(ctx context.Context, id ServiceId, input SaveConfigurationParameter) error
- func (c TenantConfigurationClient) Validate(ctx context.Context, id ServiceId, input DeployConfigurationParameters) (result ValidateOperationResponse, err error)
- func (c TenantConfigurationClient) ValidateThenPoll(ctx context.Context, id ServiceId, input DeployConfigurationParameters) error
- type ValidateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAsyncOperationStatus ¶
func PossibleValuesForAsyncOperationStatus() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AsyncOperationStatus ¶
type AsyncOperationStatus string
const ( AsyncOperationStatusFailed AsyncOperationStatus = "Failed" AsyncOperationStatusInProgress AsyncOperationStatus = "InProgress" AsyncOperationStatusStarted AsyncOperationStatus = "Started" AsyncOperationStatusSucceeded AsyncOperationStatus = "Succeeded" )
func (*AsyncOperationStatus) UnmarshalJSON ¶
func (s *AsyncOperationStatus) UnmarshalJSON(bytes []byte) error
type DeployConfigurationParameters ¶
type DeployConfigurationParameters struct {
Properties *DeployConfigurationParameterProperties `json:"properties,omitempty"`
}
type DeployOperationResponse ¶
type ErrorFieldContract ¶
type ErrorResponseBody ¶
type ErrorResponseBody struct { Code *string `json:"code,omitempty"` Details *[]ErrorFieldContract `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type OperationResultContract ¶
type OperationResultContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OperationResultContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type OperationResultContractProperties ¶
type OperationResultContractProperties struct { ActionLog *[]OperationResultLogItemContract `json:"actionLog,omitempty"` Error *ErrorResponseBody `json:"error,omitempty"` Id *string `json:"id,omitempty"` ResultInfo *string `json:"resultInfo,omitempty"` Started *string `json:"started,omitempty"` Status *AsyncOperationStatus `json:"status,omitempty"` Updated *string `json:"updated,omitempty"` }
func (*OperationResultContractProperties) GetStartedAsTime ¶
func (o *OperationResultContractProperties) GetStartedAsTime() (*time.Time, error)
func (*OperationResultContractProperties) GetUpdatedAsTime ¶
func (o *OperationResultContractProperties) GetUpdatedAsTime() (*time.Time, error)
func (*OperationResultContractProperties) SetStartedAsTime ¶
func (o *OperationResultContractProperties) SetStartedAsTime(input time.Time)
func (*OperationResultContractProperties) SetUpdatedAsTime ¶
func (o *OperationResultContractProperties) SetUpdatedAsTime(input time.Time)
type SaveConfigurationParameter ¶
type SaveConfigurationParameter struct {
Properties *SaveConfigurationParameterProperties `json:"properties,omitempty"`
}
type SaveOperationResponse ¶
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type TenantConfigurationClient ¶
type TenantConfigurationClient struct {
Client *resourcemanager.Client
}
func NewTenantConfigurationClientWithBaseURI ¶
func NewTenantConfigurationClientWithBaseURI(sdkApi sdkEnv.Api) (*TenantConfigurationClient, error)
func (TenantConfigurationClient) Deploy ¶
func (c TenantConfigurationClient) Deploy(ctx context.Context, id ServiceId, input DeployConfigurationParameters) (result DeployOperationResponse, err error)
Deploy ...
func (TenantConfigurationClient) DeployThenPoll ¶
func (c TenantConfigurationClient) DeployThenPoll(ctx context.Context, id ServiceId, input DeployConfigurationParameters) error
DeployThenPoll performs Deploy then polls until it's completed
func (TenantConfigurationClient) Save ¶
func (c TenantConfigurationClient) Save(ctx context.Context, id ServiceId, input SaveConfigurationParameter) (result SaveOperationResponse, err error)
Save ...
func (TenantConfigurationClient) SaveThenPoll ¶
func (c TenantConfigurationClient) SaveThenPoll(ctx context.Context, id ServiceId, input SaveConfigurationParameter) error
SaveThenPoll performs Save then polls until it's completed
func (TenantConfigurationClient) Validate ¶
func (c TenantConfigurationClient) Validate(ctx context.Context, id ServiceId, input DeployConfigurationParameters) (result ValidateOperationResponse, err error)
Validate ...
func (TenantConfigurationClient) ValidateThenPoll ¶
func (c TenantConfigurationClient) ValidateThenPoll(ctx context.Context, id ServiceId, input DeployConfigurationParameters) error
ValidateThenPoll performs Validate then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_deploy.go
- method_save.go
- method_validate.go
- model_deployconfigurationparameterproperties.go
- model_deployconfigurationparameters.go
- model_errorfieldcontract.go
- model_errorresponsebody.go
- model_operationresultcontract.go
- model_operationresultcontractproperties.go
- model_operationresultlogitemcontract.go
- model_saveconfigurationparameter.go
- model_saveconfigurationparameterproperties.go
- version.go