Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateDevCenterID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DevCenter
- type DevCenterId
- type DevCenterOperationPredicate
- type DevCenterProperties
- type DevCenterUpdate
- type DevCentersClient
- func (c DevCentersClient) CreateOrUpdate(ctx context.Context, id DevCenterId, input DevCenter) (result CreateOrUpdateOperationResponse, err error)
- func (c DevCentersClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterId, input DevCenter) error
- func (c DevCentersClient) Delete(ctx context.Context, id DevCenterId) (result DeleteOperationResponse, err error)
- func (c DevCentersClient) DeleteThenPoll(ctx context.Context, id DevCenterId) error
- func (c DevCentersClient) Get(ctx context.Context, id DevCenterId) (result GetOperationResponse, err error)
- func (c DevCentersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupOperationResponse, err error)
- func (c DevCentersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListByResourceGroupCompleteResult, error)
- func (c DevCentersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DevCentersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionOperationResponse, err error)
- func (c DevCentersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListBySubscriptionCompleteResult, error)
- func (c DevCentersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DevCentersClient) Update(ctx context.Context, id DevCenterId, input DevCenterUpdate) (result UpdateOperationResponse, err error)
- func (c DevCentersClient) UpdateThenPoll(ctx context.Context, id DevCenterId, input DevCenterUpdate) error
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationOptions
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationOptions
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateDevCenterID ¶
ValidateDevCenterID checks that 'input' can be parsed as a Dev Center ID
Types ¶
type DeleteOperationResponse ¶
type DevCenter ¶
type DevCenter struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DevCenterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DevCenterId ¶
DevCenterId is a struct representing the Resource ID for a Dev Center
func NewDevCenterID ¶
func NewDevCenterID(subscriptionId string, resourceGroupName string, devCenterName string) DevCenterId
NewDevCenterID returns a new DevCenterId struct
func ParseDevCenterID ¶
func ParseDevCenterID(input string) (*DevCenterId, error)
ParseDevCenterID parses 'input' into a DevCenterId
func ParseDevCenterIDInsensitively ¶
func ParseDevCenterIDInsensitively(input string) (*DevCenterId, error)
ParseDevCenterIDInsensitively parses 'input' case-insensitively into a DevCenterId note: this method should only be used for API response data and not user input
func (*DevCenterId) FromParseResult ¶
func (id *DevCenterId) FromParseResult(input resourceids.ParseResult) error
func (DevCenterId) Segments ¶
func (id DevCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dev Center ID
func (DevCenterId) String ¶
func (id DevCenterId) String() string
String returns a human-readable description of this Dev Center ID
type DevCenterOperationPredicate ¶
func (DevCenterOperationPredicate) Matches ¶
func (p DevCenterOperationPredicate) Matches(input DevCenter) bool
type DevCenterProperties ¶
type DevCenterProperties struct { DevCenterUri *string `json:"devCenterUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type DevCenterUpdate ¶
type DevCenterUpdate struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type DevCentersClient ¶
type DevCentersClient struct {
Client *resourcemanager.Client
}
func NewDevCentersClientWithBaseURI ¶
func NewDevCentersClientWithBaseURI(sdkApi sdkEnv.Api) (*DevCentersClient, error)
func (DevCentersClient) CreateOrUpdate ¶
func (c DevCentersClient) CreateOrUpdate(ctx context.Context, id DevCenterId, input DevCenter) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DevCentersClient) CreateOrUpdateThenPoll ¶
func (c DevCentersClient) CreateOrUpdateThenPoll(ctx context.Context, id DevCenterId, input DevCenter) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (DevCentersClient) Delete ¶
func (c DevCentersClient) Delete(ctx context.Context, id DevCenterId) (result DeleteOperationResponse, err error)
Delete ...
func (DevCentersClient) DeleteThenPoll ¶
func (c DevCentersClient) DeleteThenPoll(ctx context.Context, id DevCenterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (DevCentersClient) Get ¶
func (c DevCentersClient) Get(ctx context.Context, id DevCenterId) (result GetOperationResponse, err error)
Get ...
func (DevCentersClient) ListByResourceGroup ¶
func (c DevCentersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DevCentersClient) ListByResourceGroupComplete ¶
func (c DevCentersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DevCentersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DevCentersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListByResourceGroupOperationOptions, predicate DevCenterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevCentersClient) ListBySubscription ¶
func (c DevCentersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DevCentersClient) ListBySubscriptionComplete ¶
func (c DevCentersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DevCentersClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DevCentersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListBySubscriptionOperationOptions, predicate DevCenterOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DevCentersClient) Update ¶
func (c DevCentersClient) Update(ctx context.Context, id DevCenterId, input DevCenterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (DevCentersClient) UpdateThenPoll ¶
func (c DevCentersClient) UpdateThenPoll(ctx context.Context, id DevCenterId, input DevCenterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationOptions ¶
type ListByResourceGroupOperationOptions struct {
Top *int64
}
func DefaultListByResourceGroupOperationOptions ¶
func DefaultListByResourceGroupOperationOptions() ListByResourceGroupOperationOptions
func (ListByResourceGroupOperationOptions) ToHeaders ¶
func (o ListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (ListByResourceGroupOperationOptions) ToOData ¶
func (o ListByResourceGroupOperationOptions) ToOData() *odata.Query
func (ListByResourceGroupOperationOptions) ToQuery ¶
func (o ListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationOptions ¶
type ListBySubscriptionOperationOptions struct {
Top *int64
}
func DefaultListBySubscriptionOperationOptions ¶
func DefaultListBySubscriptionOperationOptions() ListBySubscriptionOperationOptions
func (ListBySubscriptionOperationOptions) ToHeaders ¶
func (o ListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (ListBySubscriptionOperationOptions) ToOData ¶
func (o ListBySubscriptionOperationOptions) ToOData() *odata.Query
func (ListBySubscriptionOperationOptions) ToQuery ¶
func (o ListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMovingResources ProvisioningState = "MovingResources" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateRolloutInProgress ProvisioningState = "RolloutInProgress" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateStorageProvisioningFailed ProvisioningState = "StorageProvisioningFailed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateTransientFailure ProvisioningState = "TransientFailure" ProvisioningStateUpdated ProvisioningState = "Updated" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error