Documentation ¶
Index ¶
- func PossibleValuesForContainerGroupIPAddressType() []string
- func PossibleValuesForContainerGroupNetworkProtocol() []string
- func PossibleValuesForContainerGroupPriority() []string
- func PossibleValuesForContainerGroupRestartPolicy() []string
- func PossibleValuesForContainerGroupSku() []string
- func PossibleValuesForContainerNetworkProtocol() []string
- func PossibleValuesForDnsNameLabelReusePolicy() []string
- func PossibleValuesForGpuSku() []string
- func PossibleValuesForLogAnalyticsLogType() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForScheme() []string
- func ValidateContainerGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- type AzureFileVolume
- type CachedImages
- type CachedImagesOperationPredicate
- type Capabilities
- type CapabilitiesCapabilities
- type CapabilitiesOperationPredicate
- type ConfidentialComputeProperties
- type Container
- type ContainerAttachResponse
- type ContainerExec
- type ContainerExecRequest
- type ContainerExecRequestTerminalSize
- type ContainerExecResponse
- type ContainerGroup
- type ContainerGroupDiagnostics
- type ContainerGroupIPAddressType
- type ContainerGroupId
- type ContainerGroupNetworkProtocol
- type ContainerGroupOperationPredicate
- type ContainerGroupPriority
- type ContainerGroupPropertiesProperties
- type ContainerGroupPropertiesPropertiesInstanceView
- type ContainerGroupRestartPolicy
- type ContainerGroupSku
- type ContainerGroupSubnetId
- type ContainerGroupsCreateOrUpdateOperationResponse
- type ContainerGroupsDeleteOperationResponse
- type ContainerGroupsGetOperationResponse
- type ContainerGroupsGetOutboundNetworkDependenciesEndpointsOperationResponse
- type ContainerGroupsListByResourceGroupCompleteResult
- type ContainerGroupsListByResourceGroupOperationResponse
- type ContainerGroupsListCompleteResult
- type ContainerGroupsListOperationResponse
- type ContainerGroupsRestartOperationResponse
- type ContainerGroupsStartOperationResponse
- type ContainerGroupsStopOperationResponse
- type ContainerGroupsUpdateOperationResponse
- type ContainerHTTPGet
- type ContainerId
- type ContainerInstanceClient
- func (c ContainerInstanceClient) ContainerGroupsCreateOrUpdate(ctx context.Context, id ContainerGroupId, input ContainerGroup) (result ContainerGroupsCreateOrUpdateOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsCreateOrUpdateThenPoll(ctx context.Context, id ContainerGroupId, input ContainerGroup) error
- func (c ContainerInstanceClient) ContainerGroupsDelete(ctx context.Context, id ContainerGroupId) (result ContainerGroupsDeleteOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsDeleteThenPoll(ctx context.Context, id ContainerGroupId) error
- func (c ContainerInstanceClient) ContainerGroupsGet(ctx context.Context, id ContainerGroupId) (result ContainerGroupsGetOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsGetOutboundNetworkDependenciesEndpoints(ctx context.Context, id ContainerGroupId) (result ContainerGroupsGetOutboundNetworkDependenciesEndpointsOperationResponse, ...)
- func (c ContainerInstanceClient) ContainerGroupsList(ctx context.Context, id commonids.SubscriptionId) (resp ContainerGroupsListOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ContainerGroupsListByResourceGroupOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ContainerGroupsListByResourceGroupCompleteResult, error)
- func (c ContainerInstanceClient) ContainerGroupsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ContainerGroupsListByResourceGroupCompleteResult, err error)
- func (c ContainerInstanceClient) ContainerGroupsListComplete(ctx context.Context, id commonids.SubscriptionId) (ContainerGroupsListCompleteResult, error)
- func (c ContainerInstanceClient) ContainerGroupsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ContainerGroupsListCompleteResult, err error)
- func (c ContainerInstanceClient) ContainerGroupsRestart(ctx context.Context, id ContainerGroupId) (result ContainerGroupsRestartOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsRestartThenPoll(ctx context.Context, id ContainerGroupId) error
- func (c ContainerInstanceClient) ContainerGroupsStart(ctx context.Context, id ContainerGroupId) (result ContainerGroupsStartOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsStartThenPoll(ctx context.Context, id ContainerGroupId) error
- func (c ContainerInstanceClient) ContainerGroupsStop(ctx context.Context, id ContainerGroupId) (result ContainerGroupsStopOperationResponse, err error)
- func (c ContainerInstanceClient) ContainerGroupsUpdate(ctx context.Context, id ContainerGroupId, input Resource) (result ContainerGroupsUpdateOperationResponse, err error)
- func (c ContainerInstanceClient) ContainersAttach(ctx context.Context, id ContainerId) (result ContainersAttachOperationResponse, err error)
- func (c ContainerInstanceClient) ContainersExecuteCommand(ctx context.Context, id ContainerId, input ContainerExecRequest) (result ContainersExecuteCommandOperationResponse, err error)
- func (c ContainerInstanceClient) ContainersListLogs(ctx context.Context, id ContainerId, ...) (result ContainersListLogsOperationResponse, err error)
- func (c ContainerInstanceClient) LocationListCachedImages(ctx context.Context, id LocationId) (resp LocationListCachedImagesOperationResponse, err error)
- func (c ContainerInstanceClient) LocationListCachedImagesComplete(ctx context.Context, id LocationId) (LocationListCachedImagesCompleteResult, error)
- func (c ContainerInstanceClient) LocationListCachedImagesCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CachedImagesOperationPredicate) (resp LocationListCachedImagesCompleteResult, err error)
- func (c ContainerInstanceClient) LocationListCapabilities(ctx context.Context, id LocationId) (resp LocationListCapabilitiesOperationResponse, err error)
- func (c ContainerInstanceClient) LocationListCapabilitiesComplete(ctx context.Context, id LocationId) (LocationListCapabilitiesCompleteResult, error)
- func (c ContainerInstanceClient) LocationListCapabilitiesCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilitiesOperationPredicate) (resp LocationListCapabilitiesCompleteResult, err error)
- func (c ContainerInstanceClient) LocationListUsage(ctx context.Context, id LocationId) (result LocationListUsageOperationResponse, err error)
- func (c ContainerInstanceClient) SubnetServiceAssociationLinkDelete(ctx context.Context, id commonids.SubnetId) (result SubnetServiceAssociationLinkDeleteOperationResponse, err error)
- func (c ContainerInstanceClient) SubnetServiceAssociationLinkDeleteThenPoll(ctx context.Context, id commonids.SubnetId) error
- type ContainerNetworkProtocol
- type ContainerPort
- type ContainerProbe
- type ContainerProperties
- type ContainerPropertiesInstanceView
- type ContainerState
- type ContainersAttachOperationResponse
- type ContainersExecuteCommandOperationResponse
- type ContainersListLogsOperationOptions
- type ContainersListLogsOperationResponse
- type DeploymentExtensionSpec
- type DeploymentExtensionSpecProperties
- type DnsConfiguration
- type DnsNameLabelReusePolicy
- type EncryptionProperties
- type EnvironmentVariable
- type Event
- type GitRepoVolume
- type GpuResource
- type GpuSku
- type HTTPHeader
- type IPAddress
- type ImageRegistryCredential
- type InitContainerDefinition
- type InitContainerPropertiesDefinition
- type InitContainerPropertiesDefinitionInstanceView
- type LocationId
- type LocationListCachedImagesCompleteResult
- type LocationListCachedImagesOperationResponse
- type LocationListCapabilitiesCompleteResult
- type LocationListCapabilitiesOperationResponse
- type LocationListUsageOperationResponse
- type LogAnalytics
- type LogAnalyticsLogType
- type Logs
- type OperatingSystemTypes
- type Port
- type Resource
- type ResourceLimits
- type ResourceRequests
- type ResourceRequirements
- type Scheme
- type SecurityContextCapabilitiesDefinition
- type SecurityContextDefinition
- type SubnetServiceAssociationLinkDeleteOperationResponse
- type Usage
- type UsageListResult
- type UsageName
- type Volume
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContainerGroupIPAddressType ¶
func PossibleValuesForContainerGroupIPAddressType() []string
func PossibleValuesForContainerGroupNetworkProtocol ¶
func PossibleValuesForContainerGroupNetworkProtocol() []string
func PossibleValuesForContainerGroupPriority ¶
func PossibleValuesForContainerGroupPriority() []string
func PossibleValuesForContainerGroupRestartPolicy ¶
func PossibleValuesForContainerGroupRestartPolicy() []string
func PossibleValuesForContainerGroupSku ¶
func PossibleValuesForContainerGroupSku() []string
func PossibleValuesForContainerNetworkProtocol ¶
func PossibleValuesForContainerNetworkProtocol() []string
func PossibleValuesForDnsNameLabelReusePolicy ¶
func PossibleValuesForDnsNameLabelReusePolicy() []string
func PossibleValuesForGpuSku ¶
func PossibleValuesForGpuSku() []string
func PossibleValuesForLogAnalyticsLogType ¶
func PossibleValuesForLogAnalyticsLogType() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForScheme ¶
func PossibleValuesForScheme() []string
func ValidateContainerGroupID ¶
ValidateContainerGroupID checks that 'input' can be parsed as a Container Group ID
func ValidateContainerID ¶
ValidateContainerID checks that 'input' can be parsed as a Container ID
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
Types ¶
type AzureFileVolume ¶
type CachedImages ¶
type CachedImagesOperationPredicate ¶
func (CachedImagesOperationPredicate) Matches ¶
func (p CachedImagesOperationPredicate) Matches(input CachedImages) bool
type Capabilities ¶
type Capabilities struct { Capabilities *CapabilitiesCapabilities `json:"capabilities,omitempty"` Gpu *string `json:"gpu,omitempty"` IPAddressType *string `json:"ipAddressType,omitempty"` Location *string `json:"location,omitempty"` OsType *string `json:"osType,omitempty"` ResourceType *string `json:"resourceType,omitempty"` }
type CapabilitiesOperationPredicate ¶
type CapabilitiesOperationPredicate struct { Gpu *string IPAddressType *string Location *string OsType *string ResourceType *string }
func (CapabilitiesOperationPredicate) Matches ¶
func (p CapabilitiesOperationPredicate) Matches(input Capabilities) bool
type ConfidentialComputeProperties ¶
type ConfidentialComputeProperties struct {
CcePolicy *string `json:"ccePolicy,omitempty"`
}
type Container ¶
type Container struct { Name string `json:"name"` Properties ContainerProperties `json:"properties"` }
type ContainerAttachResponse ¶
type ContainerExec ¶
type ContainerExec struct {
Command *[]string `json:"command,omitempty"`
}
type ContainerExecRequest ¶
type ContainerExecRequest struct { Command *string `json:"command,omitempty"` TerminalSize *ContainerExecRequestTerminalSize `json:"terminalSize,omitempty"` }
type ContainerExecResponse ¶
type ContainerGroup ¶
type ContainerGroup struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ContainerGroupPropertiesProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type ContainerGroupDiagnostics ¶
type ContainerGroupDiagnostics struct {
LogAnalytics *LogAnalytics `json:"logAnalytics,omitempty"`
}
type ContainerGroupIPAddressType ¶
type ContainerGroupIPAddressType string
const ( ContainerGroupIPAddressTypePrivate ContainerGroupIPAddressType = "Private" ContainerGroupIPAddressTypePublic ContainerGroupIPAddressType = "Public" )
type ContainerGroupId ¶
type ContainerGroupId struct { SubscriptionId string ResourceGroupName string ContainerGroupName string }
ContainerGroupId is a struct representing the Resource ID for a Container Group
func NewContainerGroupID ¶
func NewContainerGroupID(subscriptionId string, resourceGroupName string, containerGroupName string) ContainerGroupId
NewContainerGroupID returns a new ContainerGroupId struct
func ParseContainerGroupID ¶
func ParseContainerGroupID(input string) (*ContainerGroupId, error)
ParseContainerGroupID parses 'input' into a ContainerGroupId
func ParseContainerGroupIDInsensitively ¶
func ParseContainerGroupIDInsensitively(input string) (*ContainerGroupId, error)
ParseContainerGroupIDInsensitively parses 'input' case-insensitively into a ContainerGroupId note: this method should only be used for API response data and not user input
func (ContainerGroupId) ID ¶
func (id ContainerGroupId) ID() string
ID returns the formatted Container Group ID
func (ContainerGroupId) Segments ¶
func (id ContainerGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container Group ID
func (ContainerGroupId) String ¶
func (id ContainerGroupId) String() string
String returns a human-readable description of this Container Group ID
type ContainerGroupNetworkProtocol ¶
type ContainerGroupNetworkProtocol string
const ( ContainerGroupNetworkProtocolTCP ContainerGroupNetworkProtocol = "TCP" ContainerGroupNetworkProtocolUDP ContainerGroupNetworkProtocol = "UDP" )
type ContainerGroupOperationPredicate ¶
type ContainerGroupOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ContainerGroupOperationPredicate) Matches ¶
func (p ContainerGroupOperationPredicate) Matches(input ContainerGroup) bool
type ContainerGroupPriority ¶
type ContainerGroupPriority string
const ( ContainerGroupPriorityRegular ContainerGroupPriority = "Regular" ContainerGroupPrioritySpot ContainerGroupPriority = "Spot" )
type ContainerGroupPropertiesProperties ¶
type ContainerGroupPropertiesProperties struct { ConfidentialComputeProperties *ConfidentialComputeProperties `json:"confidentialComputeProperties,omitempty"` Containers []Container `json:"containers"` Diagnostics *ContainerGroupDiagnostics `json:"diagnostics,omitempty"` DnsConfig *DnsConfiguration `json:"dnsConfig,omitempty"` EncryptionProperties *EncryptionProperties `json:"encryptionProperties,omitempty"` Extensions *[]DeploymentExtensionSpec `json:"extensions,omitempty"` IPAddress *IPAddress `json:"ipAddress,omitempty"` ImageRegistryCredentials *[]ImageRegistryCredential `json:"imageRegistryCredentials,omitempty"` InitContainers *[]InitContainerDefinition `json:"initContainers,omitempty"` InstanceView *ContainerGroupPropertiesPropertiesInstanceView `json:"instanceView,omitempty"` OsType OperatingSystemTypes `json:"osType"` Priority *ContainerGroupPriority `json:"priority,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RestartPolicy *ContainerGroupRestartPolicy `json:"restartPolicy,omitempty"` Sku *ContainerGroupSku `json:"sku,omitempty"` SubnetIds *[]ContainerGroupSubnetId `json:"subnetIds,omitempty"` Volumes *[]Volume `json:"volumes,omitempty"` }
type ContainerGroupRestartPolicy ¶
type ContainerGroupRestartPolicy string
const ( ContainerGroupRestartPolicyAlways ContainerGroupRestartPolicy = "Always" ContainerGroupRestartPolicyNever ContainerGroupRestartPolicy = "Never" ContainerGroupRestartPolicyOnFailure ContainerGroupRestartPolicy = "OnFailure" )
type ContainerGroupSku ¶
type ContainerGroupSku string
const ( ContainerGroupSkuConfidential ContainerGroupSku = "Confidential" ContainerGroupSkuDedicated ContainerGroupSku = "Dedicated" ContainerGroupSkuStandard ContainerGroupSku = "Standard" )
type ContainerGroupSubnetId ¶
type ContainerGroupsCreateOrUpdateOperationResponse ¶
type ContainerGroupsCreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ContainerGroupsDeleteOperationResponse ¶
type ContainerGroupsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ContainerGroupsGetOperationResponse ¶
type ContainerGroupsGetOperationResponse struct { HttpResponse *http.Response Model *ContainerGroup }
type ContainerGroupsListByResourceGroupCompleteResult ¶
type ContainerGroupsListByResourceGroupCompleteResult struct {
Items []ContainerGroup
}
type ContainerGroupsListByResourceGroupOperationResponse ¶
type ContainerGroupsListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ContainerGroup // contains filtered or unexported fields }
func (ContainerGroupsListByResourceGroupOperationResponse) HasMore ¶
func (r ContainerGroupsListByResourceGroupOperationResponse) HasMore() bool
func (ContainerGroupsListByResourceGroupOperationResponse) LoadMore ¶
func (r ContainerGroupsListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ContainerGroupsListByResourceGroupOperationResponse, err error)
type ContainerGroupsListCompleteResult ¶
type ContainerGroupsListCompleteResult struct {
Items []ContainerGroup
}
type ContainerGroupsListOperationResponse ¶
type ContainerGroupsListOperationResponse struct { HttpResponse *http.Response Model *[]ContainerGroup // contains filtered or unexported fields }
func (ContainerGroupsListOperationResponse) HasMore ¶
func (r ContainerGroupsListOperationResponse) HasMore() bool
func (ContainerGroupsListOperationResponse) LoadMore ¶
func (r ContainerGroupsListOperationResponse) LoadMore(ctx context.Context) (resp ContainerGroupsListOperationResponse, err error)
type ContainerGroupsRestartOperationResponse ¶
type ContainerGroupsRestartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ContainerGroupsStartOperationResponse ¶
type ContainerGroupsStartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ContainerGroupsUpdateOperationResponse ¶
type ContainerGroupsUpdateOperationResponse struct { HttpResponse *http.Response Model *ContainerGroup }
type ContainerHTTPGet ¶
type ContainerHTTPGet struct { HTTPHeaders *[]HTTPHeader `json:"httpHeaders,omitempty"` Path *string `json:"path,omitempty"` Port int64 `json:"port"` Scheme *Scheme `json:"scheme,omitempty"` }
type ContainerId ¶
type ContainerId struct { SubscriptionId string ResourceGroupName string ContainerGroupName string ContainerName string }
ContainerId is a struct representing the Resource ID for a Container
func NewContainerID ¶
func NewContainerID(subscriptionId string, resourceGroupName string, containerGroupName string, containerName string) ContainerId
NewContainerID returns a new ContainerId struct
func ParseContainerID ¶
func ParseContainerID(input string) (*ContainerId, error)
ParseContainerID parses 'input' into a ContainerId
func ParseContainerIDInsensitively ¶
func ParseContainerIDInsensitively(input string) (*ContainerId, error)
ParseContainerIDInsensitively parses 'input' case-insensitively into a ContainerId note: this method should only be used for API response data and not user input
func (ContainerId) Segments ¶
func (id ContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container ID
func (ContainerId) String ¶
func (id ContainerId) String() string
String returns a human-readable description of this Container ID
type ContainerInstanceClient ¶
type ContainerInstanceClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewContainerInstanceClientWithBaseURI ¶
func NewContainerInstanceClientWithBaseURI(endpoint string) ContainerInstanceClient
func (ContainerInstanceClient) ContainerGroupsCreateOrUpdate ¶
func (c ContainerInstanceClient) ContainerGroupsCreateOrUpdate(ctx context.Context, id ContainerGroupId, input ContainerGroup) (result ContainerGroupsCreateOrUpdateOperationResponse, err error)
ContainerGroupsCreateOrUpdate ...
func (ContainerInstanceClient) ContainerGroupsCreateOrUpdateThenPoll ¶
func (c ContainerInstanceClient) ContainerGroupsCreateOrUpdateThenPoll(ctx context.Context, id ContainerGroupId, input ContainerGroup) error
ContainerGroupsCreateOrUpdateThenPoll performs ContainerGroupsCreateOrUpdate then polls until it's completed
func (ContainerInstanceClient) ContainerGroupsDelete ¶
func (c ContainerInstanceClient) ContainerGroupsDelete(ctx context.Context, id ContainerGroupId) (result ContainerGroupsDeleteOperationResponse, err error)
ContainerGroupsDelete ...
func (ContainerInstanceClient) ContainerGroupsDeleteThenPoll ¶
func (c ContainerInstanceClient) ContainerGroupsDeleteThenPoll(ctx context.Context, id ContainerGroupId) error
ContainerGroupsDeleteThenPoll performs ContainerGroupsDelete then polls until it's completed
func (ContainerInstanceClient) ContainerGroupsGet ¶
func (c ContainerInstanceClient) ContainerGroupsGet(ctx context.Context, id ContainerGroupId) (result ContainerGroupsGetOperationResponse, err error)
ContainerGroupsGet ...
func (ContainerInstanceClient) ContainerGroupsGetOutboundNetworkDependenciesEndpoints ¶
func (c ContainerInstanceClient) ContainerGroupsGetOutboundNetworkDependenciesEndpoints(ctx context.Context, id ContainerGroupId) (result ContainerGroupsGetOutboundNetworkDependenciesEndpointsOperationResponse, err error)
ContainerGroupsGetOutboundNetworkDependenciesEndpoints ...
func (ContainerInstanceClient) ContainerGroupsList ¶
func (c ContainerInstanceClient) ContainerGroupsList(ctx context.Context, id commonids.SubscriptionId) (resp ContainerGroupsListOperationResponse, err error)
ContainerGroupsList ...
func (ContainerInstanceClient) ContainerGroupsListByResourceGroup ¶
func (c ContainerInstanceClient) ContainerGroupsListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ContainerGroupsListByResourceGroupOperationResponse, err error)
ContainerGroupsListByResourceGroup ...
func (ContainerInstanceClient) ContainerGroupsListByResourceGroupComplete ¶
func (c ContainerInstanceClient) ContainerGroupsListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ContainerGroupsListByResourceGroupCompleteResult, error)
ContainerGroupsListByResourceGroupComplete retrieves all of the results into a single object
func (ContainerInstanceClient) ContainerGroupsListByResourceGroupCompleteMatchingPredicate ¶
func (c ContainerInstanceClient) ContainerGroupsListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ContainerGroupOperationPredicate) (resp ContainerGroupsListByResourceGroupCompleteResult, err error)
ContainerGroupsListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerInstanceClient) ContainerGroupsListComplete ¶
func (c ContainerInstanceClient) ContainerGroupsListComplete(ctx context.Context, id commonids.SubscriptionId) (ContainerGroupsListCompleteResult, error)
ContainerGroupsListComplete retrieves all of the results into a single object
func (ContainerInstanceClient) ContainerGroupsListCompleteMatchingPredicate ¶
func (c ContainerInstanceClient) ContainerGroupsListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ContainerGroupOperationPredicate) (resp ContainerGroupsListCompleteResult, err error)
ContainerGroupsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerInstanceClient) ContainerGroupsRestart ¶
func (c ContainerInstanceClient) ContainerGroupsRestart(ctx context.Context, id ContainerGroupId) (result ContainerGroupsRestartOperationResponse, err error)
ContainerGroupsRestart ...
func (ContainerInstanceClient) ContainerGroupsRestartThenPoll ¶
func (c ContainerInstanceClient) ContainerGroupsRestartThenPoll(ctx context.Context, id ContainerGroupId) error
ContainerGroupsRestartThenPoll performs ContainerGroupsRestart then polls until it's completed
func (ContainerInstanceClient) ContainerGroupsStart ¶
func (c ContainerInstanceClient) ContainerGroupsStart(ctx context.Context, id ContainerGroupId) (result ContainerGroupsStartOperationResponse, err error)
ContainerGroupsStart ...
func (ContainerInstanceClient) ContainerGroupsStartThenPoll ¶
func (c ContainerInstanceClient) ContainerGroupsStartThenPoll(ctx context.Context, id ContainerGroupId) error
ContainerGroupsStartThenPoll performs ContainerGroupsStart then polls until it's completed
func (ContainerInstanceClient) ContainerGroupsStop ¶
func (c ContainerInstanceClient) ContainerGroupsStop(ctx context.Context, id ContainerGroupId) (result ContainerGroupsStopOperationResponse, err error)
ContainerGroupsStop ...
func (ContainerInstanceClient) ContainerGroupsUpdate ¶
func (c ContainerInstanceClient) ContainerGroupsUpdate(ctx context.Context, id ContainerGroupId, input Resource) (result ContainerGroupsUpdateOperationResponse, err error)
ContainerGroupsUpdate ...
func (ContainerInstanceClient) ContainersAttach ¶
func (c ContainerInstanceClient) ContainersAttach(ctx context.Context, id ContainerId) (result ContainersAttachOperationResponse, err error)
ContainersAttach ...
func (ContainerInstanceClient) ContainersExecuteCommand ¶
func (c ContainerInstanceClient) ContainersExecuteCommand(ctx context.Context, id ContainerId, input ContainerExecRequest) (result ContainersExecuteCommandOperationResponse, err error)
ContainersExecuteCommand ...
func (ContainerInstanceClient) ContainersListLogs ¶
func (c ContainerInstanceClient) ContainersListLogs(ctx context.Context, id ContainerId, options ContainersListLogsOperationOptions) (result ContainersListLogsOperationResponse, err error)
ContainersListLogs ...
func (ContainerInstanceClient) LocationListCachedImages ¶
func (c ContainerInstanceClient) LocationListCachedImages(ctx context.Context, id LocationId) (resp LocationListCachedImagesOperationResponse, err error)
LocationListCachedImages ...
func (ContainerInstanceClient) LocationListCachedImagesComplete ¶
func (c ContainerInstanceClient) LocationListCachedImagesComplete(ctx context.Context, id LocationId) (LocationListCachedImagesCompleteResult, error)
LocationListCachedImagesComplete retrieves all of the results into a single object
func (ContainerInstanceClient) LocationListCachedImagesCompleteMatchingPredicate ¶
func (c ContainerInstanceClient) LocationListCachedImagesCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CachedImagesOperationPredicate) (resp LocationListCachedImagesCompleteResult, err error)
LocationListCachedImagesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerInstanceClient) LocationListCapabilities ¶
func (c ContainerInstanceClient) LocationListCapabilities(ctx context.Context, id LocationId) (resp LocationListCapabilitiesOperationResponse, err error)
LocationListCapabilities ...
func (ContainerInstanceClient) LocationListCapabilitiesComplete ¶
func (c ContainerInstanceClient) LocationListCapabilitiesComplete(ctx context.Context, id LocationId) (LocationListCapabilitiesCompleteResult, error)
LocationListCapabilitiesComplete retrieves all of the results into a single object
func (ContainerInstanceClient) LocationListCapabilitiesCompleteMatchingPredicate ¶
func (c ContainerInstanceClient) LocationListCapabilitiesCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate CapabilitiesOperationPredicate) (resp LocationListCapabilitiesCompleteResult, err error)
LocationListCapabilitiesCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerInstanceClient) LocationListUsage ¶
func (c ContainerInstanceClient) LocationListUsage(ctx context.Context, id LocationId) (result LocationListUsageOperationResponse, err error)
LocationListUsage ...
func (ContainerInstanceClient) SubnetServiceAssociationLinkDelete ¶
func (c ContainerInstanceClient) SubnetServiceAssociationLinkDelete(ctx context.Context, id commonids.SubnetId) (result SubnetServiceAssociationLinkDeleteOperationResponse, err error)
SubnetServiceAssociationLinkDelete ...
func (ContainerInstanceClient) SubnetServiceAssociationLinkDeleteThenPoll ¶
func (c ContainerInstanceClient) SubnetServiceAssociationLinkDeleteThenPoll(ctx context.Context, id commonids.SubnetId) error
SubnetServiceAssociationLinkDeleteThenPoll performs SubnetServiceAssociationLinkDelete then polls until it's completed
type ContainerNetworkProtocol ¶
type ContainerNetworkProtocol string
const ( ContainerNetworkProtocolTCP ContainerNetworkProtocol = "TCP" ContainerNetworkProtocolUDP ContainerNetworkProtocol = "UDP" )
type ContainerPort ¶
type ContainerPort struct { Port int64 `json:"port"` Protocol *ContainerNetworkProtocol `json:"protocol,omitempty"` }
type ContainerProbe ¶
type ContainerProbe struct { Exec *ContainerExec `json:"exec,omitempty"` FailureThreshold *int64 `json:"failureThreshold,omitempty"` HTTPGet *ContainerHTTPGet `json:"httpGet,omitempty"` InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"` PeriodSeconds *int64 `json:"periodSeconds,omitempty"` SuccessThreshold *int64 `json:"successThreshold,omitempty"` TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` }
type ContainerProperties ¶
type ContainerProperties struct { Command *[]string `json:"command,omitempty"` EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` Image string `json:"image"` InstanceView *ContainerPropertiesInstanceView `json:"instanceView,omitempty"` LivenessProbe *ContainerProbe `json:"livenessProbe,omitempty"` Ports *[]ContainerPort `json:"ports,omitempty"` ReadinessProbe *ContainerProbe `json:"readinessProbe,omitempty"` Resources ResourceRequirements `json:"resources"` SecurityContext *SecurityContextDefinition `json:"securityContext,omitempty"` VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` }
type ContainerPropertiesInstanceView ¶
type ContainerPropertiesInstanceView struct { CurrentState *ContainerState `json:"currentState,omitempty"` Events *[]Event `json:"events,omitempty"` PreviousState *ContainerState `json:"previousState,omitempty"` RestartCount *int64 `json:"restartCount,omitempty"` }
type ContainerState ¶
type ContainerState struct { DetailStatus *string `json:"detailStatus,omitempty"` ExitCode *int64 `json:"exitCode,omitempty"` FinishTime *string `json:"finishTime,omitempty"` StartTime *string `json:"startTime,omitempty"` State *string `json:"state,omitempty"` }
func (*ContainerState) GetFinishTimeAsTime ¶
func (o *ContainerState) GetFinishTimeAsTime() (*time.Time, error)
func (*ContainerState) GetStartTimeAsTime ¶
func (o *ContainerState) GetStartTimeAsTime() (*time.Time, error)
func (*ContainerState) SetFinishTimeAsTime ¶
func (o *ContainerState) SetFinishTimeAsTime(input time.Time)
func (*ContainerState) SetStartTimeAsTime ¶
func (o *ContainerState) SetStartTimeAsTime(input time.Time)
type ContainersAttachOperationResponse ¶
type ContainersAttachOperationResponse struct { HttpResponse *http.Response Model *ContainerAttachResponse }
type ContainersExecuteCommandOperationResponse ¶
type ContainersExecuteCommandOperationResponse struct { HttpResponse *http.Response Model *ContainerExecResponse }
type ContainersListLogsOperationOptions ¶
func DefaultContainersListLogsOperationOptions ¶
func DefaultContainersListLogsOperationOptions() ContainersListLogsOperationOptions
type DeploymentExtensionSpec ¶
type DeploymentExtensionSpec struct { Name string `json:"name"` Properties *DeploymentExtensionSpecProperties `json:"properties,omitempty"` }
type DnsConfiguration ¶
type DnsNameLabelReusePolicy ¶
type DnsNameLabelReusePolicy string
const ( DnsNameLabelReusePolicyNoreuse DnsNameLabelReusePolicy = "Noreuse" DnsNameLabelReusePolicyResourceGroupReuse DnsNameLabelReusePolicy = "ResourceGroupReuse" DnsNameLabelReusePolicySubscriptionReuse DnsNameLabelReusePolicy = "SubscriptionReuse" DnsNameLabelReusePolicyTenantReuse DnsNameLabelReusePolicy = "TenantReuse" DnsNameLabelReusePolicyUnsecure DnsNameLabelReusePolicy = "Unsecure" )
type EncryptionProperties ¶
type EnvironmentVariable ¶
type Event ¶
type Event struct { Count *int64 `json:"count,omitempty"` FirstTimestamp *string `json:"firstTimestamp,omitempty"` LastTimestamp *string `json:"lastTimestamp,omitempty"` Message *string `json:"message,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (*Event) GetFirstTimestampAsTime ¶
func (*Event) SetFirstTimestampAsTime ¶
func (*Event) SetLastTimestampAsTime ¶
type GitRepoVolume ¶
type GpuResource ¶
type HTTPHeader ¶
type IPAddress ¶
type IPAddress struct { AutoGeneratedDomainNameLabelScope *DnsNameLabelReusePolicy `json:"autoGeneratedDomainNameLabelScope,omitempty"` DnsNameLabel *string `json:"dnsNameLabel,omitempty"` Fqdn *string `json:"fqdn,omitempty"` IP *string `json:"ip,omitempty"` Ports []Port `json:"ports"` Type ContainerGroupIPAddressType `json:"type"` }
type ImageRegistryCredential ¶
type InitContainerDefinition ¶
type InitContainerDefinition struct { Name string `json:"name"` Properties InitContainerPropertiesDefinition `json:"properties"` }
type InitContainerPropertiesDefinition ¶
type InitContainerPropertiesDefinition struct { Command *[]string `json:"command,omitempty"` EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"` Image *string `json:"image,omitempty"` InstanceView *InitContainerPropertiesDefinitionInstanceView `json:"instanceView,omitempty"` SecurityContext *SecurityContextDefinition `json:"securityContext,omitempty"` VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` }
type InitContainerPropertiesDefinitionInstanceView ¶
type InitContainerPropertiesDefinitionInstanceView struct { CurrentState *ContainerState `json:"currentState,omitempty"` Events *[]Event `json:"events,omitempty"` PreviousState *ContainerState `json:"previousState,omitempty"` RestartCount *int64 `json:"restartCount,omitempty"` }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type LocationListCachedImagesCompleteResult ¶
type LocationListCachedImagesCompleteResult struct {
Items []CachedImages
}
type LocationListCachedImagesOperationResponse ¶
type LocationListCachedImagesOperationResponse struct { HttpResponse *http.Response Model *[]CachedImages // contains filtered or unexported fields }
func (LocationListCachedImagesOperationResponse) HasMore ¶
func (r LocationListCachedImagesOperationResponse) HasMore() bool
func (LocationListCachedImagesOperationResponse) LoadMore ¶
func (r LocationListCachedImagesOperationResponse) LoadMore(ctx context.Context) (resp LocationListCachedImagesOperationResponse, err error)
type LocationListCapabilitiesCompleteResult ¶
type LocationListCapabilitiesCompleteResult struct {
Items []Capabilities
}
type LocationListCapabilitiesOperationResponse ¶
type LocationListCapabilitiesOperationResponse struct { HttpResponse *http.Response Model *[]Capabilities // contains filtered or unexported fields }
func (LocationListCapabilitiesOperationResponse) HasMore ¶
func (r LocationListCapabilitiesOperationResponse) HasMore() bool
func (LocationListCapabilitiesOperationResponse) LoadMore ¶
func (r LocationListCapabilitiesOperationResponse) LoadMore(ctx context.Context) (resp LocationListCapabilitiesOperationResponse, err error)
type LocationListUsageOperationResponse ¶
type LocationListUsageOperationResponse struct { HttpResponse *http.Response Model *UsageListResult }
type LogAnalytics ¶
type LogAnalyticsLogType ¶
type LogAnalyticsLogType string
const ( LogAnalyticsLogTypeContainerInsights LogAnalyticsLogType = "ContainerInsights" LogAnalyticsLogTypeContainerInstanceLogs LogAnalyticsLogType = "ContainerInstanceLogs" )
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
type Port ¶
type Port struct { Port int64 `json:"port"` Protocol *ContainerGroupNetworkProtocol `json:"protocol,omitempty"` }
type ResourceLimits ¶
type ResourceLimits struct { Cpu *float64 `json:"cpu,omitempty"` Gpu *GpuResource `json:"gpu,omitempty"` MemoryInGB *float64 `json:"memoryInGB,omitempty"` }
type ResourceRequests ¶
type ResourceRequests struct { Cpu float64 `json:"cpu"` Gpu *GpuResource `json:"gpu,omitempty"` MemoryInGB float64 `json:"memoryInGB"` }
type ResourceRequirements ¶
type ResourceRequirements struct { Limits *ResourceLimits `json:"limits,omitempty"` Requests ResourceRequests `json:"requests"` }
type SecurityContextDefinition ¶
type SecurityContextDefinition struct { AllowPrivilegeEscalation *bool `json:"allowPrivilegeEscalation,omitempty"` Capabilities *SecurityContextCapabilitiesDefinition `json:"capabilities,omitempty"` Privileged *bool `json:"privileged,omitempty"` RunAsGroup *int64 `json:"runAsGroup,omitempty"` RunAsUser *int64 `json:"runAsUser,omitempty"` SeccompProfile *string `json:"seccompProfile,omitempty"` }
type SubnetServiceAssociationLinkDeleteOperationResponse ¶
type SubnetServiceAssociationLinkDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UsageListResult ¶
type UsageListResult struct {
Value *[]Usage `json:"value,omitempty"`
}
type Volume ¶
type Volume struct { AzureFile *AzureFileVolume `json:"azureFile,omitempty"` EmptyDir *interface{} `json:"emptyDir,omitempty"` GitRepo *GitRepoVolume `json:"gitRepo,omitempty"` Name string `json:"name"` Secret *map[string]string `json:"secret,omitempty"` }
type VolumeMount ¶
Source Files ¶
- client.go
- constants.go
- id_container.go
- id_containergroup.go
- id_location.go
- method_containergroupscreateorupdate_autorest.go
- method_containergroupsdelete_autorest.go
- method_containergroupsget_autorest.go
- method_containergroupsgetoutboundnetworkdependenciesendpoints_autorest.go
- method_containergroupslist_autorest.go
- method_containergroupslistbyresourcegroup_autorest.go
- method_containergroupsrestart_autorest.go
- method_containergroupsstart_autorest.go
- method_containergroupsstop_autorest.go
- method_containergroupsupdate_autorest.go
- method_containersattach_autorest.go
- method_containersexecutecommand_autorest.go
- method_containerslistlogs_autorest.go
- method_locationlistcachedimages_autorest.go
- method_locationlistcapabilities_autorest.go
- method_locationlistusage_autorest.go
- method_subnetserviceassociationlinkdelete_autorest.go
- model_azurefilevolume.go
- model_cachedimages.go
- model_capabilities.go
- model_capabilitiescapabilities.go
- model_confidentialcomputeproperties.go
- model_container.go
- model_containerattachresponse.go
- model_containerexec.go
- model_containerexecrequest.go
- model_containerexecrequestterminalsize.go
- model_containerexecresponse.go
- model_containergroup.go
- model_containergroupdiagnostics.go
- model_containergrouppropertiesproperties.go
- model_containergrouppropertiespropertiesinstanceview.go
- model_containergroupsubnetid.go
- model_containerhttpget.go
- model_containerport.go
- model_containerprobe.go
- model_containerproperties.go
- model_containerpropertiesinstanceview.go
- model_containerstate.go
- model_deploymentextensionspec.go
- model_deploymentextensionspecproperties.go
- model_dnsconfiguration.go
- model_encryptionproperties.go
- model_environmentvariable.go
- model_event.go
- model_gitrepovolume.go
- model_gpuresource.go
- model_httpheader.go
- model_imageregistrycredential.go
- model_initcontainerdefinition.go
- model_initcontainerpropertiesdefinition.go
- model_initcontainerpropertiesdefinitioninstanceview.go
- model_ipaddress.go
- model_loganalytics.go
- model_logs.go
- model_port.go
- model_resource.go
- model_resourcelimits.go
- model_resourcerequests.go
- model_resourcerequirements.go
- model_securitycontextcapabilitiesdefinition.go
- model_securitycontextdefinition.go
- model_usage.go
- model_usagelistresult.go
- model_usagename.go
- model_volume.go
- model_volumemount.go
- predicates.go
- version.go