Documentation ¶
Index ¶
- func PossibleValuesForHostType() []string
- func ValidateCustomLocationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CustomLocation
- type CustomLocationId
- type CustomLocationOperationPredicate
- type CustomLocationProperties
- type CustomLocationPropertiesAuthentication
- type CustomLocationsClient
- func (c CustomLocationsClient) CreateOrUpdate(ctx context.Context, id CustomLocationId, input CustomLocation) (result CreateOrUpdateOperationResponse, err error)
- func (c CustomLocationsClient) CreateOrUpdateThenPoll(ctx context.Context, id CustomLocationId, input CustomLocation) error
- func (c CustomLocationsClient) Delete(ctx context.Context, id CustomLocationId) (result DeleteOperationResponse, err error)
- func (c CustomLocationsClient) DeleteThenPoll(ctx context.Context, id CustomLocationId) error
- func (c CustomLocationsClient) Get(ctx context.Context, id CustomLocationId) (result GetOperationResponse, err error)
- func (c CustomLocationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c CustomLocationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CustomLocationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c CustomLocationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c CustomLocationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c CustomLocationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c CustomLocationsClient) ListEnabledResourceTypes(ctx context.Context, id CustomLocationId) (result ListEnabledResourceTypesOperationResponse, err error)
- func (c CustomLocationsClient) ListEnabledResourceTypesComplete(ctx context.Context, id CustomLocationId) (ListEnabledResourceTypesCompleteResult, error)
- func (c CustomLocationsClient) ListEnabledResourceTypesCompleteMatchingPredicate(ctx context.Context, id CustomLocationId, ...) (result ListEnabledResourceTypesCompleteResult, err error)
- func (c CustomLocationsClient) Update(ctx context.Context, id CustomLocationId, input PatchableCustomLocations) (result UpdateOperationResponse, err error)
- type DeleteOperationResponse
- type EnabledResourceType
- type EnabledResourceTypeOperationPredicate
- type EnabledResourceTypeProperties
- type EnabledResourceTypePropertiesTypesMetadataInlined
- type GetOperationResponse
- type HostType
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListEnabledResourceTypesCompleteResult
- type ListEnabledResourceTypesOperationResponse
- type PatchableCustomLocations
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHostType ¶
func PossibleValuesForHostType() []string
func ValidateCustomLocationID ¶
ValidateCustomLocationID checks that 'input' can be parsed as a Custom Location ID
Types ¶
type CustomLocation ¶
type CustomLocation struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *CustomLocationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CustomLocationId ¶
type CustomLocationId struct { SubscriptionId string ResourceGroupName string CustomLocationName string }
CustomLocationId is a struct representing the Resource ID for a Custom Location
func NewCustomLocationID ¶
func NewCustomLocationID(subscriptionId string, resourceGroupName string, customLocationName string) CustomLocationId
NewCustomLocationID returns a new CustomLocationId struct
func ParseCustomLocationID ¶
func ParseCustomLocationID(input string) (*CustomLocationId, error)
ParseCustomLocationID parses 'input' into a CustomLocationId
func ParseCustomLocationIDInsensitively ¶
func ParseCustomLocationIDInsensitively(input string) (*CustomLocationId, error)
ParseCustomLocationIDInsensitively parses 'input' case-insensitively into a CustomLocationId note: this method should only be used for API response data and not user input
func (*CustomLocationId) FromParseResult ¶
func (id *CustomLocationId) FromParseResult(input resourceids.ParseResult) error
func (CustomLocationId) ID ¶
func (id CustomLocationId) ID() string
ID returns the formatted Custom Location ID
func (CustomLocationId) Segments ¶
func (id CustomLocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Custom Location ID
func (CustomLocationId) String ¶
func (id CustomLocationId) String() string
String returns a human-readable description of this Custom Location ID
type CustomLocationOperationPredicate ¶
type CustomLocationOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (CustomLocationOperationPredicate) Matches ¶
func (p CustomLocationOperationPredicate) Matches(input CustomLocation) bool
type CustomLocationProperties ¶
type CustomLocationProperties struct { Authentication *CustomLocationPropertiesAuthentication `json:"authentication,omitempty"` ClusterExtensionIds *[]string `json:"clusterExtensionIds,omitempty"` DisplayName *string `json:"displayName,omitempty"` HostResourceId *string `json:"hostResourceId,omitempty"` HostType *HostType `json:"hostType,omitempty"` Namespace *string `json:"namespace,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` }
type CustomLocationsClient ¶
type CustomLocationsClient struct {
Client *resourcemanager.Client
}
func NewCustomLocationsClientWithBaseURI ¶
func NewCustomLocationsClientWithBaseURI(sdkApi sdkEnv.Api) (*CustomLocationsClient, error)
func (CustomLocationsClient) CreateOrUpdate ¶
func (c CustomLocationsClient) CreateOrUpdate(ctx context.Context, id CustomLocationId, input CustomLocation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CustomLocationsClient) CreateOrUpdateThenPoll ¶
func (c CustomLocationsClient) CreateOrUpdateThenPoll(ctx context.Context, id CustomLocationId, input CustomLocation) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CustomLocationsClient) Delete ¶
func (c CustomLocationsClient) Delete(ctx context.Context, id CustomLocationId) (result DeleteOperationResponse, err error)
Delete ...
func (CustomLocationsClient) DeleteThenPoll ¶
func (c CustomLocationsClient) DeleteThenPoll(ctx context.Context, id CustomLocationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (CustomLocationsClient) Get ¶
func (c CustomLocationsClient) Get(ctx context.Context, id CustomLocationId) (result GetOperationResponse, err error)
Get ...
func (CustomLocationsClient) ListByResourceGroup ¶
func (c CustomLocationsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CustomLocationsClient) ListByResourceGroupComplete ¶
func (c CustomLocationsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (CustomLocationsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CustomLocationsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CustomLocationOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomLocationsClient) ListBySubscription ¶
func (c CustomLocationsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CustomLocationsClient) ListBySubscriptionComplete ¶
func (c CustomLocationsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (CustomLocationsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CustomLocationsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CustomLocationOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomLocationsClient) ListEnabledResourceTypes ¶
func (c CustomLocationsClient) ListEnabledResourceTypes(ctx context.Context, id CustomLocationId) (result ListEnabledResourceTypesOperationResponse, err error)
ListEnabledResourceTypes ...
func (CustomLocationsClient) ListEnabledResourceTypesComplete ¶
func (c CustomLocationsClient) ListEnabledResourceTypesComplete(ctx context.Context, id CustomLocationId) (ListEnabledResourceTypesCompleteResult, error)
ListEnabledResourceTypesComplete retrieves all the results into a single object
func (CustomLocationsClient) ListEnabledResourceTypesCompleteMatchingPredicate ¶
func (c CustomLocationsClient) ListEnabledResourceTypesCompleteMatchingPredicate(ctx context.Context, id CustomLocationId, predicate EnabledResourceTypeOperationPredicate) (result ListEnabledResourceTypesCompleteResult, err error)
ListEnabledResourceTypesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CustomLocationsClient) Update ¶
func (c CustomLocationsClient) Update(ctx context.Context, id CustomLocationId, input PatchableCustomLocations) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type EnabledResourceType ¶
type EnabledResourceType struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *EnabledResourceTypeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type EnabledResourceTypeOperationPredicate ¶
func (EnabledResourceTypeOperationPredicate) Matches ¶
func (p EnabledResourceTypeOperationPredicate) Matches(input EnabledResourceType) bool
type EnabledResourceTypeProperties ¶
type EnabledResourceTypeProperties struct { ClusterExtensionId *string `json:"clusterExtensionId,omitempty"` ExtensionType *string `json:"extensionType,omitempty"` TypesMetadata *[]EnabledResourceTypePropertiesTypesMetadataInlined `json:"typesMetadata,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomLocation }
type HostType ¶
type HostType string
const (
HostTypeKubernetes HostType = "Kubernetes"
)
func (*HostType) UnmarshalJSON ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []CustomLocation }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomLocation }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []CustomLocation }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CustomLocation }
type ListEnabledResourceTypesCompleteResult ¶
type ListEnabledResourceTypesCompleteResult struct { LatestHttpResponse *http.Response Items []EnabledResourceType }
type ListEnabledResourceTypesOperationResponse ¶
type ListEnabledResourceTypesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EnabledResourceType }
type PatchableCustomLocations ¶
type PatchableCustomLocations struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *CustomLocationProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CustomLocation }
Source Files ¶
- client.go
- constants.go
- id_customlocation.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_listenabledresourcetypes.go
- method_update.go
- model_customlocation.go
- model_customlocationproperties.go
- model_customlocationpropertiesauthentication.go
- model_enabledresourcetype.go
- model_enabledresourcetypeproperties.go
- model_enabledresourcetypepropertiestypesmetadatainlined.go
- model_patchablecustomlocations.go
- predicates.go
- version.go