ArmAppServiceModelFactory.SiteContainerData 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.
Overloads
SiteContainerData(ResourceIdentifier, String, ResourceType, SystemData, String, String, Nullable<Boolean>, String, Nullable<SiteContainerAuthType>, String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SiteContainerVolumeMount>, Nullable<Boolean>, IEnumerable<WebAppEnvironmentVariable>, String)
- Source:
- ArmAppServiceModelFactory.cs
Initializes a new instance of SiteContainerData.
public static Azure.ResourceManager.AppService.SiteContainerData SiteContainerData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, string image, string targetPort, bool? isMain, string startUpCommand = default, Azure.ResourceManager.AppService.Models.SiteContainerAuthType? authType = default, string userName = default, string passwordSecret = default, string userManagedIdentityClientId = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.SiteContainerVolumeMount> volumeMounts = default, bool? inheritAppSettingsAndConnectionStrings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable> environmentVariables = default, string kind = default);
static member SiteContainerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> * string * Nullable<Azure.ResourceManager.AppService.Models.SiteContainerAuthType> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.AppService.Models.SiteContainerVolumeMount> * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable> * string -> Azure.ResourceManager.AppService.SiteContainerData
Public Shared Function SiteContainerData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, image As String, targetPort As String, isMain As Nullable(Of Boolean), Optional startUpCommand As String = Nothing, Optional authType As Nullable(Of SiteContainerAuthType) = Nothing, Optional userName As String = Nothing, Optional passwordSecret As String = Nothing, Optional userManagedIdentityClientId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional volumeMounts As IEnumerable(Of SiteContainerVolumeMount) = Nothing, Optional inheritAppSettingsAndConnectionStrings As Nullable(Of Boolean) = Nothing, Optional environmentVariables As IEnumerable(Of WebAppEnvironmentVariable) = Nothing, Optional kind As String = Nothing) As SiteContainerData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- image
- String
Image Name.
- targetPort
- String
Target Port.
<code>true</code> if the container is the main site container; <code>false</code> otherwise.
- startUpCommand
- String
StartUp Command.
- authType
- Nullable<SiteContainerAuthType>
Auth Type.
- userName
- String
User Name.
- passwordSecret
- String
Password Secret.
- userManagedIdentityClientId
- String
UserManagedIdentity ClientId.
- createdOn
- Nullable<DateTimeOffset>
Created Time.
- lastModifiedOn
- Nullable<DateTimeOffset>
Last Modified Time.
- volumeMounts
- IEnumerable<SiteContainerVolumeMount>
List of volume mounts.
<code>true</code> if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; <code>false</code> otherwise.
- environmentVariables
- IEnumerable<WebAppEnvironmentVariable>
List of environment variables.
- kind
- String
Kind of resource.
Returns
A new SiteContainerData instance for mocking.
Applies to
SiteContainerData(ResourceIdentifier, String, ResourceType, SystemData, String, String, String, Nullable<Boolean>, String, Nullable<SiteContainerAuthType>, String, String, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, IEnumerable<SiteContainerVolumeMount>, Nullable<Boolean>, IEnumerable<WebAppEnvironmentVariable>)
- Source:
- ArmAppServiceModelFactory.cs
Initializes a new instance of SiteContainerData.
public static Azure.ResourceManager.AppService.SiteContainerData SiteContainerData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, string image = default, string targetPort = default, bool? isMain = default, string startUpCommand = default, Azure.ResourceManager.AppService.Models.SiteContainerAuthType? authType = default, string userName = default, string passwordSecret = default, string userManagedIdentityClientId = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.SiteContainerVolumeMount> volumeMounts = default, bool? inheritAppSettingsAndConnectionStrings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable> environmentVariables = default);
static member SiteContainerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<bool> * string * Nullable<Azure.ResourceManager.AppService.Models.SiteContainerAuthType> * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.AppService.Models.SiteContainerVolumeMount> * Nullable<bool> * seq<Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable> -> Azure.ResourceManager.AppService.SiteContainerData
Public Shared Function SiteContainerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional image As String = Nothing, Optional targetPort As String = Nothing, Optional isMain As Nullable(Of Boolean) = Nothing, Optional startUpCommand As String = Nothing, Optional authType As Nullable(Of SiteContainerAuthType) = Nothing, Optional userName As String = Nothing, Optional passwordSecret As String = Nothing, Optional userManagedIdentityClientId As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional volumeMounts As IEnumerable(Of SiteContainerVolumeMount) = Nothing, Optional inheritAppSettingsAndConnectionStrings As Nullable(Of Boolean) = Nothing, Optional environmentVariables As IEnumerable(Of WebAppEnvironmentVariable) = Nothing) As SiteContainerData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- kind
- String
Kind of resource. Serialized Name: SiteContainer.kind
- image
- String
Image Name Serialized Name: SiteContainer.properties.image
- targetPort
- String
Target Port Serialized Name: SiteContainer.properties.targetPort
<code>true</code> if the container is the main site container; <code>false</code> otherwise. Serialized Name: SiteContainer.properties.isMain
- startUpCommand
- String
StartUp Command Serialized Name: SiteContainer.properties.startUpCommand
- authType
- Nullable<SiteContainerAuthType>
Auth Type Serialized Name: SiteContainer.properties.authType
- userName
- String
User Name Serialized Name: SiteContainer.properties.userName
- passwordSecret
- String
Password Secret Serialized Name: SiteContainer.properties.passwordSecret
- userManagedIdentityClientId
- String
UserManagedIdentity ClientId Serialized Name: SiteContainer.properties.userManagedIdentityClientId
- createdOn
- Nullable<DateTimeOffset>
Created Time Serialized Name: SiteContainer.properties.createdTime
- lastModifiedOn
- Nullable<DateTimeOffset>
Last Modified Time Serialized Name: SiteContainer.properties.lastModifiedTime
- volumeMounts
- IEnumerable<SiteContainerVolumeMount>
List of volume mounts Serialized Name: SiteContainer.properties.volumeMounts
<code>true</code> if all AppSettings and ConnectionStrings have to be passed to the container as environment variables; <code>false</code> otherwise. Serialized Name: SiteContainer.properties.inheritAppSettingsAndConnectionStrings
- environmentVariables
- IEnumerable<WebAppEnvironmentVariable>
List of environment variables Serialized Name: SiteContainer.properties.environmentVariables
Returns
A new SiteContainerData instance for mocking.