IDefinition Interface

Definition

public interface IDefinition : Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IBlank, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IDnsConfigFork, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithGroup, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithNextContainerInstance, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOsType, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPrivateImageRegistryOrVolume, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithPublicOrPrivateImageRegistry, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithSystemAssignedIdentityBasedAccessOrCreate, Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithVolume, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithCreatableResourceGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOsType>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithExistingResourceGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOsType>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOsType>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.GroupableResource.Definition.IWithNewResourceGroup<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithOsType>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithRegion<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithGroup>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroup>
type IDefinition = interface
    interface IBlank
    interface IDefinitionWithRegion<IWithGroup>
    interface IWithGroup
    interface IWithGroup<IWithOsType>
    interface IWithExistingResourceGroup<IWithOsType>
    interface IWithNewResourceGroup<IWithOsType>
    interface IWithCreatableResourceGroup<IWithOsType>
    interface IWithOsType
    interface IWithPublicOrPrivateImageRegistry
    interface IWithPublicImageRegistryOnly
    interface IWithPrivateImageRegistry
    interface IWithPrivateImageRegistryOrVolume
    interface IWithPrivateImageRegistryOrVolumeBeta
    interface IBeta
    interface IWithVolume
    interface IWithFirstContainerInstance
    interface IWithSystemAssignedManagedServiceIdentity
    interface IWithSystemAssignedManagedServiceIdentityBeta
    interface IWithSystemAssignedIdentityBasedAccessOrCreate
    interface IWithCreate
    interface IWithRestartPolicy
    interface IWithRestartPolicyBeta
    interface IWithUserAssignedManagedServiceIdentity
    interface IWithUserAssignedManagedServiceIdentityBeta
    interface IWithDnsPrefix
    interface IWithNetworkProfile
    interface IWithNetworkProfileBeta
    interface IWithLogAnalytics
    interface IWithLogAnalyticsBeta
    interface ICreatable<IContainerGroup>
    interface IIndexable
    interface IDefinitionWithTags<IWithCreate>
    interface IWithSystemAssignedIdentityBasedAccessOrCreateBeta
    interface IWithNextContainerInstance
    interface IDnsConfigFork
    interface IWithDnsConfig
    interface IWithDnsConfigBeta
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IContainerGroup), IDefinitionWithRegion(Of IWithGroup), IDefinitionWithTags(Of IWithCreate), IDnsConfigFork, IWithCreatableResourceGroup(Of IWithOsType), IWithExistingResourceGroup(Of IWithOsType), IWithGroup, IWithGroup(Of IWithOsType), IWithNewResourceGroup(Of IWithOsType), IWithNextContainerInstance, IWithOsType, IWithPrivateImageRegistryOrVolume, IWithPublicOrPrivateImageRegistry, IWithSystemAssignedIdentityBasedAccessOrCreate, IWithVolume
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
DefineContainerInstance(String)

Begins the definition of a container instance.

(Inherited from IWithNextContainerInstance)
DefineVolume(String)

Begins the definition of a volume that can be shared by the container instances in the container group. The definition must be completed with a call to VolumeDefinitionStages.WithVolumeAttach.attach().

(Inherited from IWithVolume)
WithContainerInstance(String)

Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with TCP port 80 opened externally.

(Inherited from IWithFirstContainerInstance)
WithContainerInstance(String, Int32)

Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with a custom TCP port opened externally.

(Inherited from IWithFirstContainerInstance)
WithDnsConfiguration(IList<String>, String, String)

Specifies the DNS configuration for the container group.

(Inherited from IWithDnsConfigBeta)
WithDnsPrefix(String)

Specifies the DNS prefix to be used to create the FQDN for the container group.

(Inherited from IWithDnsPrefix)
WithDnsServerNames(IList<String>)

Specifies the DNS servers for the container group.

(Inherited from IWithDnsConfigBeta)
WithEmptyDirectoryVolume(String)

Specifies an empty directory volume that can be shared by the container instances in the container group.

(Inherited from IWithPrivateImageRegistryOrVolumeBeta)
WithExistingResourceGroup(IResourceGroup)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingResourceGroup(String)

Associates the resource with an existing resource group.

(Inherited from IWithExistingResourceGroup<T>)
WithExistingUserAssignedManagedServiceIdentity(IIdentity)

Specifies an existing user assigned identity to be associate with the container group.

(Inherited from IWithUserAssignedManagedServiceIdentityBeta)
WithLinux()

Specifies this is a Linux container group.

(Inherited from IWithOsType)
WithLogAnalytics(String, String)

Specifies the log analytics workspace to use for the container group.

(Inherited from IWithLogAnalyticsBeta)
WithLogAnalytics(String, String, LogAnalyticsLogType, IDictionary<String,String>)

Specifies the log analytics workspace with optional add-ons for the container group.

(Inherited from IWithLogAnalyticsBeta)
WithNetworkProfileId(String, String, String)

Specifies the network profile information for a container group.

(Inherited from IWithNetworkProfileBeta)
WithNewAzureFileShareVolume(String, String)

Specifies a new Azure file share name to be created.

(Inherited from IWithPrivateImageRegistryOrVolume)
WithNewResourceGroup() (Inherited from IWithNewResourceGroup<T>)
WithNewResourceGroup(ICreatable<IResourceGroup>)

Creates a new resource group to put the resource in, based on the definition specified.

(Inherited from IWithCreatableResourceGroup<T>)
WithNewResourceGroup(String) (Inherited from IWithNewResourceGroup<T>)
WithNewUserAssignedManagedServiceIdentity(ICreatable<IIdentity>)

Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.

(Inherited from IWithUserAssignedManagedServiceIdentityBeta)
WithoutVolume()

Skips the definition of volumes to be shared by the container instances. An IllegalArgumentException will be thrown if a container instance attempts to define a volume mounting.

(Inherited from IWithPrivateImageRegistryOrVolume)
WithPrivateImageRegistry(String, String, String)

Specifies the private container image registry server login for the container group.

(Inherited from IWithPrivateImageRegistry)
WithPublicImageRegistryOnly()

Only public container image repository will be used to create the container instances in the container group.

(Inherited from IWithPublicImageRegistryOnly)
WithRegion(Region)

Specifies the region for the resource.

(Inherited from IDefinitionWithRegion<T>)
WithRegion(String)

Specifies the region for the resource by name.

(Inherited from IDefinitionWithRegion<T>)
WithRestartPolicy(ContainerGroupRestartPolicy)

Specifies the restart policy for all the container instances within the container group.

(Inherited from IWithRestartPolicyBeta)
WithSystemAssignedIdentityBasedAccessTo(String, BuiltInRole)

Specifies a system assigned managed service identity with access to a specific resource with a specified role.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreateBeta)
WithSystemAssignedIdentityBasedAccessTo(String, String)

Specifies a system assigned managed service identity with access to a specific resource with a specified role from the id.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreateBeta)
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreateBeta)
WithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String)

Specifies a system assigned managed service identity with access to the current resource group and with the specified role from the id.

(Inherited from IWithSystemAssignedIdentityBasedAccessOrCreateBeta)
WithSystemAssignedManagedServiceIdentity()

Specifies a system assigned managed service identity for the container group.

(Inherited from IWithSystemAssignedManagedServiceIdentityBeta)
WithTag(String, String)

Adds a tag to the resource.

(Inherited from IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

Specifies tags for the resource as a {@link Map}.

(Inherited from IDefinitionWithTags<T>)
WithWindows()

Specifies this is a Windows container group.

(Inherited from IWithOsType)

Applies to