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.
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 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, 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> * seq<Azure.ResourceManager.AppService.Models.WebAppEnvironmentVariable> * string -> 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 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 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.
- environmentVariables
- IEnumerable<WebAppEnvironmentVariable>
List of environment variables.
- kind
- String
Kind of resource.
Returns
A new SiteContainerData instance for mocking.
Applies to
Azure SDK for .NET