Documentation ¶
Index ¶
- func PossibleValuesForFrontEndServiceType() []string
- func PossibleValuesForKubeEnvironmentProvisioningState() []string
- func PossibleValuesForStorageType() []string
- func ValidateKubeEnvironmentID(input interface{}, key string) (warnings []string, errors []error)
- type AppLogsConfiguration
- type ArcConfiguration
- type ContainerAppsConfiguration
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type ExtendedLocation
- type FrontEndConfiguration
- type FrontEndServiceType
- type GetOperationResponse
- type KubeEnvironment
- type KubeEnvironmentId
- type KubeEnvironmentOperationPredicate
- type KubeEnvironmentPatchResource
- type KubeEnvironmentPatchResourceProperties
- type KubeEnvironmentProperties
- type KubeEnvironmentProvisioningState
- type KubeEnvironmentsClient
- func (c KubeEnvironmentsClient) CreateOrUpdate(ctx context.Context, id KubeEnvironmentId, input KubeEnvironment) (result CreateOrUpdateOperationResponse, err error)
- func (c KubeEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id KubeEnvironmentId, input KubeEnvironment) error
- func (c KubeEnvironmentsClient) Delete(ctx context.Context, id KubeEnvironmentId) (result DeleteOperationResponse, err error)
- func (c KubeEnvironmentsClient) DeleteThenPoll(ctx context.Context, id KubeEnvironmentId) error
- func (c KubeEnvironmentsClient) Get(ctx context.Context, id KubeEnvironmentId) (result GetOperationResponse, err error)
- func (c KubeEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c KubeEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c KubeEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c KubeEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c KubeEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c KubeEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c KubeEnvironmentsClient) Update(ctx context.Context, id KubeEnvironmentId, input KubeEnvironmentPatchResource) (result UpdateOperationResponse, err error)
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type LogAnalyticsConfiguration
- type StorageType
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFrontEndServiceType ¶
func PossibleValuesForFrontEndServiceType() []string
func PossibleValuesForKubeEnvironmentProvisioningState ¶
func PossibleValuesForKubeEnvironmentProvisioningState() []string
func PossibleValuesForStorageType ¶
func PossibleValuesForStorageType() []string
func ValidateKubeEnvironmentID ¶
ValidateKubeEnvironmentID checks that 'input' can be parsed as a Kube Environment ID
Types ¶
type AppLogsConfiguration ¶
type AppLogsConfiguration struct { Destination *string `json:"destination,omitempty"` LogAnalyticsConfiguration *LogAnalyticsConfiguration `json:"logAnalyticsConfiguration,omitempty"` }
type ArcConfiguration ¶
type ArcConfiguration struct { ArtifactStorageAccessMode *string `json:"artifactStorageAccessMode,omitempty"` ArtifactStorageClassName *string `json:"artifactStorageClassName,omitempty"` ArtifactStorageMountPath *string `json:"artifactStorageMountPath,omitempty"` ArtifactStorageNodeName *string `json:"artifactStorageNodeName,omitempty"` ArtifactsStorageType *StorageType `json:"artifactsStorageType,omitempty"` FrontEndServiceConfiguration *FrontEndConfiguration `json:"frontEndServiceConfiguration,omitempty"` KubeConfig *string `json:"kubeConfig,omitempty"` }
type ContainerAppsConfiguration ¶
type ContainerAppsConfiguration struct { AppSubnetResourceId *string `json:"appSubnetResourceId,omitempty"` ControlPlaneSubnetResourceId *string `json:"controlPlaneSubnetResourceId,omitempty"` DaprAIInstrumentationKey *string `json:"daprAIInstrumentationKey,omitempty"` DockerBridgeCidr *string `json:"dockerBridgeCidr,omitempty"` PlatformReservedCidr *string `json:"platformReservedCidr,omitempty"` PlatformReservedDnsIP *string `json:"platformReservedDnsIP,omitempty"` }
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type FrontEndConfiguration ¶
type FrontEndConfiguration struct {
Kind *FrontEndServiceType `json:"kind,omitempty"`
}
type FrontEndServiceType ¶
type FrontEndServiceType string
const ( FrontEndServiceTypeLoadBalancer FrontEndServiceType = "LoadBalancer" FrontEndServiceTypeNodePort FrontEndServiceType = "NodePort" )
func (*FrontEndServiceType) UnmarshalJSON ¶
func (s *FrontEndServiceType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *KubeEnvironment }
type KubeEnvironment ¶
type KubeEnvironment struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *KubeEnvironmentProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type KubeEnvironmentId ¶
type KubeEnvironmentId struct { SubscriptionId string ResourceGroupName string KubeEnvironmentName string }
KubeEnvironmentId is a struct representing the Resource ID for a Kube Environment
func NewKubeEnvironmentID ¶
func NewKubeEnvironmentID(subscriptionId string, resourceGroupName string, kubeEnvironmentName string) KubeEnvironmentId
NewKubeEnvironmentID returns a new KubeEnvironmentId struct
func ParseKubeEnvironmentID ¶
func ParseKubeEnvironmentID(input string) (*KubeEnvironmentId, error)
ParseKubeEnvironmentID parses 'input' into a KubeEnvironmentId
func ParseKubeEnvironmentIDInsensitively ¶
func ParseKubeEnvironmentIDInsensitively(input string) (*KubeEnvironmentId, error)
ParseKubeEnvironmentIDInsensitively parses 'input' case-insensitively into a KubeEnvironmentId note: this method should only be used for API response data and not user input
func (*KubeEnvironmentId) FromParseResult ¶
func (id *KubeEnvironmentId) FromParseResult(input resourceids.ParseResult) error
func (KubeEnvironmentId) ID ¶
func (id KubeEnvironmentId) ID() string
ID returns the formatted Kube Environment ID
func (KubeEnvironmentId) Segments ¶
func (id KubeEnvironmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Kube Environment ID
func (KubeEnvironmentId) String ¶
func (id KubeEnvironmentId) String() string
String returns a human-readable description of this Kube Environment ID
type KubeEnvironmentOperationPredicate ¶
type KubeEnvironmentOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (KubeEnvironmentOperationPredicate) Matches ¶
func (p KubeEnvironmentOperationPredicate) Matches(input KubeEnvironment) bool
type KubeEnvironmentPatchResource ¶
type KubeEnvironmentPatchResource struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Name *string `json:"name,omitempty"` Properties *KubeEnvironmentPatchResourceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type KubeEnvironmentPatchResourceProperties ¶
type KubeEnvironmentPatchResourceProperties struct { AksResourceID *string `json:"aksResourceID,omitempty"` AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` ContainerAppsConfiguration *ContainerAppsConfiguration `json:"containerAppsConfiguration,omitempty"` DefaultDomain *string `json:"defaultDomain,omitempty"` DeploymentErrors *string `json:"deploymentErrors,omitempty"` InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` ProvisioningState *KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` StaticIP *string `json:"staticIp,omitempty"` }
type KubeEnvironmentProperties ¶
type KubeEnvironmentProperties struct { AksResourceID *string `json:"aksResourceID,omitempty"` AppLogsConfiguration *AppLogsConfiguration `json:"appLogsConfiguration,omitempty"` ArcConfiguration *ArcConfiguration `json:"arcConfiguration,omitempty"` ContainerAppsConfiguration *ContainerAppsConfiguration `json:"containerAppsConfiguration,omitempty"` DefaultDomain *string `json:"defaultDomain,omitempty"` DeploymentErrors *string `json:"deploymentErrors,omitempty"` EnvironmentType *string `json:"environmentType,omitempty"` InternalLoadBalancerEnabled *bool `json:"internalLoadBalancerEnabled,omitempty"` ProvisioningState *KubeEnvironmentProvisioningState `json:"provisioningState,omitempty"` StaticIP *string `json:"staticIp,omitempty"` }
type KubeEnvironmentProvisioningState ¶
type KubeEnvironmentProvisioningState string
const ( KubeEnvironmentProvisioningStateCanceled KubeEnvironmentProvisioningState = "Canceled" KubeEnvironmentProvisioningStateFailed KubeEnvironmentProvisioningState = "Failed" KubeEnvironmentProvisioningStateInfrastructureSetupComplete KubeEnvironmentProvisioningState = "InfrastructureSetupComplete" KubeEnvironmentProvisioningStateInfrastructureSetupInProgress KubeEnvironmentProvisioningState = "InfrastructureSetupInProgress" KubeEnvironmentProvisioningStateInitializationInProgress KubeEnvironmentProvisioningState = "InitializationInProgress" KubeEnvironmentProvisioningStateScheduledForDelete KubeEnvironmentProvisioningState = "ScheduledForDelete" KubeEnvironmentProvisioningStateSucceeded KubeEnvironmentProvisioningState = "Succeeded" KubeEnvironmentProvisioningStateUpgradeFailed KubeEnvironmentProvisioningState = "UpgradeFailed" KubeEnvironmentProvisioningStateUpgradeRequested KubeEnvironmentProvisioningState = "UpgradeRequested" KubeEnvironmentProvisioningStateWaiting KubeEnvironmentProvisioningState = "Waiting" )
func (*KubeEnvironmentProvisioningState) UnmarshalJSON ¶
func (s *KubeEnvironmentProvisioningState) UnmarshalJSON(bytes []byte) error
type KubeEnvironmentsClient ¶
type KubeEnvironmentsClient struct {
Client *resourcemanager.Client
}
func NewKubeEnvironmentsClientWithBaseURI ¶
func NewKubeEnvironmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*KubeEnvironmentsClient, error)
func (KubeEnvironmentsClient) CreateOrUpdate ¶
func (c KubeEnvironmentsClient) CreateOrUpdate(ctx context.Context, id KubeEnvironmentId, input KubeEnvironment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (KubeEnvironmentsClient) CreateOrUpdateThenPoll ¶
func (c KubeEnvironmentsClient) CreateOrUpdateThenPoll(ctx context.Context, id KubeEnvironmentId, input KubeEnvironment) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (KubeEnvironmentsClient) Delete ¶
func (c KubeEnvironmentsClient) Delete(ctx context.Context, id KubeEnvironmentId) (result DeleteOperationResponse, err error)
Delete ...
func (KubeEnvironmentsClient) DeleteThenPoll ¶
func (c KubeEnvironmentsClient) DeleteThenPoll(ctx context.Context, id KubeEnvironmentId) error
DeleteThenPoll performs Delete then polls until it's completed
func (KubeEnvironmentsClient) Get ¶
func (c KubeEnvironmentsClient) Get(ctx context.Context, id KubeEnvironmentId) (result GetOperationResponse, err error)
Get ...
func (KubeEnvironmentsClient) ListByResourceGroup ¶
func (c KubeEnvironmentsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (KubeEnvironmentsClient) ListByResourceGroupComplete ¶
func (c KubeEnvironmentsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (KubeEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c KubeEnvironmentsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate KubeEnvironmentOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (KubeEnvironmentsClient) ListBySubscription ¶
func (c KubeEnvironmentsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (KubeEnvironmentsClient) ListBySubscriptionComplete ¶
func (c KubeEnvironmentsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (KubeEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c KubeEnvironmentsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate KubeEnvironmentOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (KubeEnvironmentsClient) Update ¶
func (c KubeEnvironmentsClient) Update(ctx context.Context, id KubeEnvironmentId, input KubeEnvironmentPatchResource) (result UpdateOperationResponse, err error)
Update ...
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []KubeEnvironment }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]KubeEnvironment }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []KubeEnvironment }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]KubeEnvironment }
type LogAnalyticsConfiguration ¶
type LogAnalyticsConfiguration struct { CustomerId *string `json:"customerId,omitempty"` }
type StorageType ¶
type StorageType string
const ( StorageTypeLocalNode StorageType = "LocalNode" StorageTypeNetworkFileSystem StorageType = "NetworkFileSystem" )
func (*StorageType) UnmarshalJSON ¶
func (s *StorageType) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *KubeEnvironment }
Source Files ¶
- client.go
- constants.go
- id_kubeenvironment.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_applogsconfiguration.go
- model_arcconfiguration.go
- model_containerappsconfiguration.go
- model_extendedlocation.go
- model_frontendconfiguration.go
- model_kubeenvironment.go
- model_kubeenvironmentpatchresource.go
- model_kubeenvironmentpatchresourceproperties.go
- model_kubeenvironmentproperties.go
- model_loganalyticsconfiguration.go
- predicates.go
- version.go