ArmAppPlatformModelFactory.AppPlatformDeploymentProperties 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 AppPlatformDeploymentProperties.
public static Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProperties AppPlatformDeploymentProperties (Azure.ResourceManager.AppPlatform.Models.AppPlatformUserSourceInfo source = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings deploymentSettings = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentStatus? status = default, bool? isActive = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentInstance> instances = default);
static member AppPlatformDeploymentProperties : Azure.ResourceManager.AppPlatform.Models.AppPlatformUserSourceInfo * Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentSettings * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProvisioningState> * Nullable<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentStatus> * Nullable<bool> * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentInstance> -> Azure.ResourceManager.AppPlatform.Models.AppPlatformDeploymentProperties
Public Shared Function AppPlatformDeploymentProperties (Optional source As AppPlatformUserSourceInfo = Nothing, Optional deploymentSettings As AppPlatformDeploymentSettings = Nothing, Optional provisioningState As Nullable(Of AppPlatformDeploymentProvisioningState) = Nothing, Optional status As Nullable(Of AppPlatformDeploymentStatus) = Nothing, Optional isActive As Nullable(Of Boolean) = Nothing, Optional instances As IEnumerable(Of AppPlatformDeploymentInstance) = Nothing) As AppPlatformDeploymentProperties
Parameters
- source
- AppPlatformUserSourceInfo
Uploaded source information of the deployment. Please note AppPlatformUserSourceInfo is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AppPlatformBuildResultUserSourceInfo, AppPlatformCustomContainerUserSourceInfo, JarUploadedUserSourceInfo, NetCoreZipUploadedUserSourceInfo, SourceUploadedUserSourceInfo and AppPlatformUploadedUserSourceInfo.
- deploymentSettings
- AppPlatformDeploymentSettings
Deployment settings of the Deployment.
- provisioningState
- Nullable<AppPlatformDeploymentProvisioningState>
Provisioning state of the Deployment.
- status
- Nullable<AppPlatformDeploymentStatus>
Status of the Deployment.
- instances
- IEnumerable<AppPlatformDeploymentInstance>
Collection of instances belong to the Deployment.
Returns
A new AppPlatformDeploymentProperties instance for mocking.
Applies to
Azure SDK for .NET