Documentation ¶
Index ¶
- func PossibleValuesForContainerType() []string
- func PossibleValuesForExecutionType() []string
- func PossibleValuesForPoolManagementType() []string
- func PossibleValuesForSessionNetworkStatus() []string
- func PossibleValuesForSessionPoolProvisioningState() []string
- func ValidateSessionPoolID(input interface{}, key string) (warnings []string, errors []error)
- type ContainerAppsSessionPoolsClient
- func (c ContainerAppsSessionPoolsClient) CreateOrUpdate(ctx context.Context, id SessionPoolId, input SessionPool) (result CreateOrUpdateOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id SessionPoolId, input SessionPool) error
- func (c ContainerAppsSessionPoolsClient) Delete(ctx context.Context, id SessionPoolId) (result DeleteOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) DeleteThenPoll(ctx context.Context, id SessionPoolId) error
- func (c ContainerAppsSessionPoolsClient) Get(ctx context.Context, id SessionPoolId) (result GetOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ContainerAppsSessionPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ContainerAppsSessionPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ContainerAppsSessionPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c ContainerAppsSessionPoolsClient) Update(ctx context.Context, id SessionPoolId, input SessionPoolUpdatableProperties) (result UpdateOperationResponse, err error)
- func (c ContainerAppsSessionPoolsClient) UpdateThenPoll(ctx context.Context, id SessionPoolId, input SessionPoolUpdatableProperties) error
- type ContainerType
- type CreateOrUpdateOperationResponse
- type CustomContainerTemplate
- type DeleteOperationResponse
- type DynamicPoolConfiguration
- type EnvironmentVar
- type ExecutionType
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type PoolManagementType
- type ScaleConfiguration
- type SessionContainer
- type SessionContainerResources
- type SessionIngress
- type SessionNetworkConfiguration
- type SessionNetworkStatus
- type SessionPool
- type SessionPoolId
- type SessionPoolOperationPredicate
- type SessionPoolProperties
- type SessionPoolProvisioningState
- type SessionPoolSecret
- type SessionPoolUpdatableProperties
- type SessionPoolUpdatablePropertiesProperties
- type SessionRegistryCredentials
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContainerType ¶
func PossibleValuesForContainerType() []string
func PossibleValuesForExecutionType ¶
func PossibleValuesForExecutionType() []string
func PossibleValuesForPoolManagementType ¶
func PossibleValuesForPoolManagementType() []string
func PossibleValuesForSessionNetworkStatus ¶
func PossibleValuesForSessionNetworkStatus() []string
func PossibleValuesForSessionPoolProvisioningState ¶
func PossibleValuesForSessionPoolProvisioningState() []string
func ValidateSessionPoolID ¶
ValidateSessionPoolID checks that 'input' can be parsed as a Session Pool ID
Types ¶
type ContainerAppsSessionPoolsClient ¶
type ContainerAppsSessionPoolsClient struct {
Client *resourcemanager.Client
}
func NewContainerAppsSessionPoolsClientWithBaseURI ¶
func NewContainerAppsSessionPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsSessionPoolsClient, error)
func (ContainerAppsSessionPoolsClient) CreateOrUpdate ¶
func (c ContainerAppsSessionPoolsClient) CreateOrUpdate(ctx context.Context, id SessionPoolId, input SessionPool) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContainerAppsSessionPoolsClient) CreateOrUpdateThenPoll ¶
func (c ContainerAppsSessionPoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id SessionPoolId, input SessionPool) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ContainerAppsSessionPoolsClient) Delete ¶
func (c ContainerAppsSessionPoolsClient) Delete(ctx context.Context, id SessionPoolId) (result DeleteOperationResponse, err error)
Delete ...
func (ContainerAppsSessionPoolsClient) DeleteThenPoll ¶
func (c ContainerAppsSessionPoolsClient) DeleteThenPoll(ctx context.Context, id SessionPoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContainerAppsSessionPoolsClient) Get ¶
func (c ContainerAppsSessionPoolsClient) Get(ctx context.Context, id SessionPoolId) (result GetOperationResponse, err error)
Get ...
func (ContainerAppsSessionPoolsClient) ListByResourceGroup ¶
func (c ContainerAppsSessionPoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ContainerAppsSessionPoolsClient) ListByResourceGroupComplete ¶
func (c ContainerAppsSessionPoolsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ContainerAppsSessionPoolsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ContainerAppsSessionPoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SessionPoolOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContainerAppsSessionPoolsClient) ListBySubscription ¶
func (c ContainerAppsSessionPoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ContainerAppsSessionPoolsClient) ListBySubscriptionComplete ¶
func (c ContainerAppsSessionPoolsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ContainerAppsSessionPoolsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ContainerAppsSessionPoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SessionPoolOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContainerAppsSessionPoolsClient) Update ¶
func (c ContainerAppsSessionPoolsClient) Update(ctx context.Context, id SessionPoolId, input SessionPoolUpdatableProperties) (result UpdateOperationResponse, err error)
Update ...
func (ContainerAppsSessionPoolsClient) UpdateThenPoll ¶
func (c ContainerAppsSessionPoolsClient) UpdateThenPoll(ctx context.Context, id SessionPoolId, input SessionPoolUpdatableProperties) error
UpdateThenPoll performs Update then polls until it's completed
type ContainerType ¶
type ContainerType string
const ( ContainerTypeCustomContainer ContainerType = "CustomContainer" ContainerTypePythonLTS ContainerType = "PythonLTS" )
func (*ContainerType) UnmarshalJSON ¶
func (s *ContainerType) UnmarshalJSON(bytes []byte) error
type CustomContainerTemplate ¶
type CustomContainerTemplate struct { Containers *[]SessionContainer `json:"containers,omitempty"` Ingress *SessionIngress `json:"ingress,omitempty"` RegistryCredentials *SessionRegistryCredentials `json:"registryCredentials,omitempty"` }
type DeleteOperationResponse ¶
type DynamicPoolConfiguration ¶
type DynamicPoolConfiguration struct { CooldownPeriodInSeconds *int64 `json:"cooldownPeriodInSeconds,omitempty"` ExecutionType *ExecutionType `json:"executionType,omitempty"` }
type EnvironmentVar ¶
type ExecutionType ¶
type ExecutionType string
const (
ExecutionTypeTimed ExecutionType = "Timed"
)
func (*ExecutionType) UnmarshalJSON ¶
func (s *ExecutionType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SessionPool }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []SessionPool }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SessionPool }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []SessionPool }
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SessionPool }
type PoolManagementType ¶
type PoolManagementType string
const ( PoolManagementTypeDynamic PoolManagementType = "Dynamic" PoolManagementTypeManual PoolManagementType = "Manual" )
func (*PoolManagementType) UnmarshalJSON ¶
func (s *PoolManagementType) UnmarshalJSON(bytes []byte) error
type ScaleConfiguration ¶
type SessionContainer ¶
type SessionContainer struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Resources *SessionContainerResources `json:"resources,omitempty"` }
type SessionIngress ¶
type SessionIngress struct {
TargetPort *int64 `json:"targetPort,omitempty"`
}
type SessionNetworkConfiguration ¶
type SessionNetworkConfiguration struct {
Status *SessionNetworkStatus `json:"status,omitempty"`
}
type SessionNetworkStatus ¶
type SessionNetworkStatus string
const ( SessionNetworkStatusEgressDisabled SessionNetworkStatus = "EgressDisabled" SessionNetworkStatusEgressEnabled SessionNetworkStatus = "EgressEnabled" )
func (*SessionNetworkStatus) UnmarshalJSON ¶
func (s *SessionNetworkStatus) UnmarshalJSON(bytes []byte) error
type SessionPool ¶
type SessionPool struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SessionPoolProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SessionPoolId ¶
SessionPoolId is a struct representing the Resource ID for a Session Pool
func NewSessionPoolID ¶
func NewSessionPoolID(subscriptionId string, resourceGroupName string, sessionPoolName string) SessionPoolId
NewSessionPoolID returns a new SessionPoolId struct
func ParseSessionPoolID ¶
func ParseSessionPoolID(input string) (*SessionPoolId, error)
ParseSessionPoolID parses 'input' into a SessionPoolId
func ParseSessionPoolIDInsensitively ¶
func ParseSessionPoolIDInsensitively(input string) (*SessionPoolId, error)
ParseSessionPoolIDInsensitively parses 'input' case-insensitively into a SessionPoolId note: this method should only be used for API response data and not user input
func (*SessionPoolId) FromParseResult ¶
func (id *SessionPoolId) FromParseResult(input resourceids.ParseResult) error
func (SessionPoolId) ID ¶
func (id SessionPoolId) ID() string
ID returns the formatted Session Pool ID
func (SessionPoolId) Segments ¶
func (id SessionPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Session Pool ID
func (SessionPoolId) String ¶
func (id SessionPoolId) String() string
String returns a human-readable description of this Session Pool ID
type SessionPoolOperationPredicate ¶
func (SessionPoolOperationPredicate) Matches ¶
func (p SessionPoolOperationPredicate) Matches(input SessionPool) bool
type SessionPoolProperties ¶
type SessionPoolProperties struct { ContainerType *ContainerType `json:"containerType,omitempty"` CustomContainerTemplate *CustomContainerTemplate `json:"customContainerTemplate,omitempty"` DynamicPoolConfiguration *DynamicPoolConfiguration `json:"dynamicPoolConfiguration,omitempty"` EnvironmentId *string `json:"environmentId,omitempty"` NodeCount *int64 `json:"nodeCount,omitempty"` PoolManagementEndpoint *string `json:"poolManagementEndpoint,omitempty"` PoolManagementType *PoolManagementType `json:"poolManagementType,omitempty"` ProvisioningState *SessionPoolProvisioningState `json:"provisioningState,omitempty"` ScaleConfiguration *ScaleConfiguration `json:"scaleConfiguration,omitempty"` Secrets *[]SessionPoolSecret `json:"secrets,omitempty"` SessionNetworkConfiguration *SessionNetworkConfiguration `json:"sessionNetworkConfiguration,omitempty"` }
type SessionPoolProvisioningState ¶
type SessionPoolProvisioningState string
const ( SessionPoolProvisioningStateCanceled SessionPoolProvisioningState = "Canceled" SessionPoolProvisioningStateDeleting SessionPoolProvisioningState = "Deleting" SessionPoolProvisioningStateFailed SessionPoolProvisioningState = "Failed" SessionPoolProvisioningStateInProgress SessionPoolProvisioningState = "InProgress" SessionPoolProvisioningStateSucceeded SessionPoolProvisioningState = "Succeeded" )
func (*SessionPoolProvisioningState) UnmarshalJSON ¶
func (s *SessionPoolProvisioningState) UnmarshalJSON(bytes []byte) error
type SessionPoolSecret ¶
type SessionPoolUpdatableProperties ¶
type SessionPoolUpdatableProperties struct {
Properties *SessionPoolUpdatablePropertiesProperties `json:"properties,omitempty"`
}
type SessionPoolUpdatablePropertiesProperties ¶
type SessionPoolUpdatablePropertiesProperties struct { CustomContainerTemplate *CustomContainerTemplate `json:"customContainerTemplate,omitempty"` DynamicPoolConfiguration *DynamicPoolConfiguration `json:"dynamicPoolConfiguration,omitempty"` ScaleConfiguration *ScaleConfiguration `json:"scaleConfiguration,omitempty"` Secrets *[]SessionPoolSecret `json:"secrets,omitempty"` SessionNetworkConfiguration *SessionNetworkConfiguration `json:"sessionNetworkConfiguration,omitempty"` }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_sessionpool.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_customcontainertemplate.go
- model_dynamicpoolconfiguration.go
- model_environmentvar.go
- model_scaleconfiguration.go
- model_sessioncontainer.go
- model_sessioncontainerresources.go
- model_sessioningress.go
- model_sessionnetworkconfiguration.go
- model_sessionpool.go
- model_sessionpoolproperties.go
- model_sessionpoolsecret.go
- model_sessionpoolupdatableproperties.go
- model_sessionpoolupdatablepropertiesproperties.go
- model_sessionregistrycredentials.go
- predicates.go
- version.go