ArmAppContainersModelFactory.CustomContainerTemplate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.AppContainers.Models.CustomContainerTemplate CustomContainerTemplate(Azure.ResourceManager.AppContainers.Models.SessionRegistryCredentials registryCredentials = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.SessionContainer> containers = default, int? ingressTargetPort = default);
static member CustomContainerTemplate : Azure.ResourceManager.AppContainers.Models.SessionRegistryCredentials * seq<Azure.ResourceManager.AppContainers.Models.SessionContainer> * Nullable<int> -> Azure.ResourceManager.AppContainers.Models.CustomContainerTemplate
Public Shared Function CustomContainerTemplate (Optional registryCredentials As SessionRegistryCredentials = Nothing, Optional containers As IEnumerable(Of SessionContainer) = Nothing, Optional ingressTargetPort As Nullable(Of Integer) = Nothing) As CustomContainerTemplate
Parameters
- registryCredentials
- SessionRegistryCredentials
Private container registry credentials for containers used by the sessions of the session pool.
- containers
- IEnumerable<SessionContainer>
List of container definitions for the sessions of the session pool.
Returns
A new CustomContainerTemplate instance for mocking.