Documentation ¶
Index ¶
- func ValidateEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateUserID(input interface{}, key string) (warnings []string, errors []error)
- type ArmTemplateParameterProperties
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DtlEnvironment
- type DtlEnvironmentOperationPredicate
- type EnvironmentDeploymentProperties
- type EnvironmentId
- type EnvironmentProperties
- type EnvironmentsClient
- func (c EnvironmentsClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, input DtlEnvironment) (result CreateOrUpdateOperationResponse, err error)
- func (c EnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id EnvironmentId, input DtlEnvironment) error
- func (c EnvironmentsClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
- func (c EnvironmentsClient) DeleteThenPoll(ctx context.Context, id EnvironmentId) error
- func (c EnvironmentsClient) Get(ctx context.Context, id EnvironmentId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c EnvironmentsClient) List(ctx context.Context, id UserId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c EnvironmentsClient) ListComplete(ctx context.Context, id UserId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EnvironmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id UserId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c EnvironmentsClient) Update(ctx context.Context, id EnvironmentId, input UpdateResource) (result UpdateOperationResponse, err error)
- type GetOperationOptions
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type UpdateOperationResponse
- type UpdateResource
- type UserId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEnvironmentID ¶
ValidateEnvironmentID checks that 'input' can be parsed as a Environment ID
func ValidateUserID ¶
ValidateUserID checks that 'input' can be parsed as a User ID
Types ¶
type DeleteOperationResponse ¶
type DtlEnvironment ¶
type DtlEnvironmentOperationPredicate ¶
type DtlEnvironmentOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (DtlEnvironmentOperationPredicate) Matches ¶
func (p DtlEnvironmentOperationPredicate) Matches(input DtlEnvironment) bool
type EnvironmentDeploymentProperties ¶
type EnvironmentDeploymentProperties struct { ArmTemplateId *string `json:"armTemplateId,omitempty"` Parameters *[]ArmTemplateParameterProperties `json:"parameters,omitempty"` }
type EnvironmentId ¶
type EnvironmentId struct { SubscriptionId string ResourceGroupName string LabName string UserName string EnvironmentName string }
EnvironmentId is a struct representing the Resource ID for a Environment
func NewEnvironmentID ¶
func NewEnvironmentID(subscriptionId string, resourceGroupName string, labName string, userName string, environmentName string) EnvironmentId
NewEnvironmentID returns a new EnvironmentId struct
func ParseEnvironmentID ¶
func ParseEnvironmentID(input string) (*EnvironmentId, error)
ParseEnvironmentID parses 'input' into a EnvironmentId
func ParseEnvironmentIDInsensitively ¶
func ParseEnvironmentIDInsensitively(input string) (*EnvironmentId, error)
ParseEnvironmentIDInsensitively parses 'input' case-insensitively into a EnvironmentId note: this method should only be used for API response data and not user input
func (*EnvironmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *EnvironmentId) FromParseResult(input resourceids.ParseResult) error
func (EnvironmentId) ID ¶
func (id EnvironmentId) ID() string
ID returns the formatted Environment ID
func (EnvironmentId) Segments ¶
func (id EnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Environment ID
func (EnvironmentId) String ¶
func (id EnvironmentId) String() string
String returns a human-readable description of this Environment ID
type EnvironmentProperties ¶
type EnvironmentProperties struct { ArmTemplateDisplayName *string `json:"armTemplateDisplayName,omitempty"` CreatedByUser *string `json:"createdByUser,omitempty"` DeploymentProperties *EnvironmentDeploymentProperties `json:"deploymentProperties,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ResourceGroupId *string `json:"resourceGroupId,omitempty"` UniqueIdentifier *string `json:"uniqueIdentifier,omitempty"` }
type EnvironmentsClient ¶
type EnvironmentsClient struct {
Client *resourcemanager.Client
}
func NewEnvironmentsClientWithBaseURI ¶
func NewEnvironmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*EnvironmentsClient, error)
func (EnvironmentsClient) CreateOrUpdate ¶
func (c EnvironmentsClient) CreateOrUpdate(ctx context.Context, id EnvironmentId, input DtlEnvironment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EnvironmentsClient) CreateOrUpdateThenPoll ¶
func (c EnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id EnvironmentId, input DtlEnvironment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (EnvironmentsClient) Delete ¶
func (c EnvironmentsClient) Delete(ctx context.Context, id EnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (EnvironmentsClient) DeleteThenPoll ¶
func (c EnvironmentsClient) DeleteThenPoll(ctx context.Context, id EnvironmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (EnvironmentsClient) Get ¶
func (c EnvironmentsClient) Get(ctx context.Context, id EnvironmentId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (EnvironmentsClient) List ¶
func (c EnvironmentsClient) List(ctx context.Context, id UserId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (EnvironmentsClient) ListComplete ¶
func (c EnvironmentsClient) ListComplete(ctx context.Context, id UserId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EnvironmentsClient) ListCompleteMatchingPredicate ¶
func (c EnvironmentsClient) ListCompleteMatchingPredicate(ctx context.Context, id UserId, options ListOperationOptions, predicate DtlEnvironmentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EnvironmentsClient) Update ¶
func (c EnvironmentsClient) Update(ctx context.Context, id EnvironmentId, input UpdateResource) (result UpdateOperationResponse, err error)
Update ...
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶ added in v0.20230815.1165905
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶ added in v0.20230815.1165905
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶ added in v0.20230815.1165905
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DtlEnvironment }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []DtlEnvironment
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20230815.1165905
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20230815.1165905
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20230815.1165905
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DtlEnvironment }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DtlEnvironment }
type UpdateResource ¶
type UserId ¶
type UserId struct { SubscriptionId string ResourceGroupName string LabName string UserName string }
UserId is a struct representing the Resource ID for a User
func NewUserID ¶
func NewUserID(subscriptionId string, resourceGroupName string, labName string, userName string) UserId
NewUserID returns a new UserId struct
func ParseUserID ¶
ParseUserID parses 'input' into a UserId
func ParseUserIDInsensitively ¶
ParseUserIDInsensitively parses 'input' case-insensitively into a UserId note: this method should only be used for API response data and not user input
func (*UserId) FromParseResult ¶ added in v0.20231127.1171502
func (id *UserId) FromParseResult(input resourceids.ParseResult) error
func (UserId) Segments ¶
func (id UserId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this User ID
Source Files ¶
- client.go
- id_environment.go
- id_user.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.go
- model_armtemplateparameterproperties.go
- model_dtlenvironment.go
- model_environmentdeploymentproperties.go
- model_environmentproperties.go
- model_updateresource.go
- predicates.go
- version.go