1. Packages
  2. Azure Native v1
  3. API Docs
  4. appplatform
  5. getDeployment
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.appplatform.getDeployment

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get a Deployment and its properties. API Version: 2020-07-01.

    Using getDeployment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
    function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>
    def get_deployment(app_name: Optional[str] = None,
                       deployment_name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       service_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
    def get_deployment_output(app_name: Optional[pulumi.Input[str]] = None,
                       deployment_name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       service_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]
    func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
    func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput

    > Note: This function is named LookupDeployment in the Go SDK.

    public static class GetDeployment 
    {
        public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
        public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:appplatform:getDeployment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppName string
    The name of the App resource.
    DeploymentName string
    The name of the Deployment resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    AppName string
    The name of the App resource.
    DeploymentName string
    The name of the Deployment resource.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ServiceName string
    The name of the Service resource.
    appName String
    The name of the App resource.
    deploymentName String
    The name of the Deployment resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.
    appName string
    The name of the App resource.
    deploymentName string
    The name of the Deployment resource.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName string
    The name of the Service resource.
    app_name str
    The name of the App resource.
    deployment_name str
    The name of the Deployment resource.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    service_name str
    The name of the Service resource.
    appName String
    The name of the App resource.
    deploymentName String
    The name of the Deployment resource.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    serviceName String
    The name of the Service resource.

    getDeployment Result

    The following output properties are available:

    Id string
    Fully qualified resource Id for the resource.
    Name string
    The name of the resource.
    Properties Pulumi.AzureNative.AppPlatform.Outputs.DeploymentResourcePropertiesResponse
    Properties of the Deployment resource
    Type string
    The type of the resource.
    Sku Pulumi.AzureNative.AppPlatform.Outputs.SkuResponse
    Sku of the Deployment resource
    Id string
    Fully qualified resource Id for the resource.
    Name string
    The name of the resource.
    Properties DeploymentResourcePropertiesResponse
    Properties of the Deployment resource
    Type string
    The type of the resource.
    Sku SkuResponse
    Sku of the Deployment resource
    id String
    Fully qualified resource Id for the resource.
    name String
    The name of the resource.
    properties DeploymentResourcePropertiesResponse
    Properties of the Deployment resource
    type String
    The type of the resource.
    sku SkuResponse
    Sku of the Deployment resource
    id string
    Fully qualified resource Id for the resource.
    name string
    The name of the resource.
    properties DeploymentResourcePropertiesResponse
    Properties of the Deployment resource
    type string
    The type of the resource.
    sku SkuResponse
    Sku of the Deployment resource
    id str
    Fully qualified resource Id for the resource.
    name str
    The name of the resource.
    properties DeploymentResourcePropertiesResponse
    Properties of the Deployment resource
    type str
    The type of the resource.
    sku SkuResponse
    Sku of the Deployment resource
    id String
    Fully qualified resource Id for the resource.
    name String
    The name of the resource.
    properties Property Map
    Properties of the Deployment resource
    type String
    The type of the resource.
    sku Property Map
    Sku of the Deployment resource

    Supporting Types

    DeploymentInstanceResponse

    DiscoveryStatus string
    Discovery status of the deployment instance
    Name string
    Name of the deployment instance
    Reason string
    Failed reason of the deployment instance
    StartTime string
    Start time of the deployment instance
    Status string
    Status of the deployment instance
    DiscoveryStatus string
    Discovery status of the deployment instance
    Name string
    Name of the deployment instance
    Reason string
    Failed reason of the deployment instance
    StartTime string
    Start time of the deployment instance
    Status string
    Status of the deployment instance
    discoveryStatus String
    Discovery status of the deployment instance
    name String
    Name of the deployment instance
    reason String
    Failed reason of the deployment instance
    startTime String
    Start time of the deployment instance
    status String
    Status of the deployment instance
    discoveryStatus string
    Discovery status of the deployment instance
    name string
    Name of the deployment instance
    reason string
    Failed reason of the deployment instance
    startTime string
    Start time of the deployment instance
    status string
    Status of the deployment instance
    discovery_status str
    Discovery status of the deployment instance
    name str
    Name of the deployment instance
    reason str
    Failed reason of the deployment instance
    start_time str
    Start time of the deployment instance
    status str
    Status of the deployment instance
    discoveryStatus String
    Discovery status of the deployment instance
    name String
    Name of the deployment instance
    reason String
    Failed reason of the deployment instance
    startTime String
    Start time of the deployment instance
    status String
    Status of the deployment instance

    DeploymentResourcePropertiesResponse

    Active bool
    Indicates whether the Deployment is active
    AppName string
    App name of the deployment
    CreatedTime string
    Date time when the resource is created
    Instances List<Pulumi.AzureNative.AppPlatform.Inputs.DeploymentInstanceResponse>
    Collection of instances belong to the Deployment
    ProvisioningState string
    Provisioning state of the Deployment
    Status string
    Status of the Deployment
    DeploymentSettings Pulumi.AzureNative.AppPlatform.Inputs.DeploymentSettingsResponse
    Deployment settings of the Deployment
    Source Pulumi.AzureNative.AppPlatform.Inputs.UserSourceInfoResponse
    Uploaded source information of the deployment.
    Active bool
    Indicates whether the Deployment is active
    AppName string
    App name of the deployment
    CreatedTime string
    Date time when the resource is created
    Instances []DeploymentInstanceResponse
    Collection of instances belong to the Deployment
    ProvisioningState string
    Provisioning state of the Deployment
    Status string
    Status of the Deployment
    DeploymentSettings DeploymentSettingsResponse
    Deployment settings of the Deployment
    Source UserSourceInfoResponse
    Uploaded source information of the deployment.
    active Boolean
    Indicates whether the Deployment is active
    appName String
    App name of the deployment
    createdTime String
    Date time when the resource is created
    instances List<DeploymentInstanceResponse>
    Collection of instances belong to the Deployment
    provisioningState String
    Provisioning state of the Deployment
    status String
    Status of the Deployment
    deploymentSettings DeploymentSettingsResponse
    Deployment settings of the Deployment
    source UserSourceInfoResponse
    Uploaded source information of the deployment.
    active boolean
    Indicates whether the Deployment is active
    appName string
    App name of the deployment
    createdTime string
    Date time when the resource is created
    instances DeploymentInstanceResponse[]
    Collection of instances belong to the Deployment
    provisioningState string
    Provisioning state of the Deployment
    status string
    Status of the Deployment
    deploymentSettings DeploymentSettingsResponse
    Deployment settings of the Deployment
    source UserSourceInfoResponse
    Uploaded source information of the deployment.
    active bool
    Indicates whether the Deployment is active
    app_name str
    App name of the deployment
    created_time str
    Date time when the resource is created
    instances Sequence[DeploymentInstanceResponse]
    Collection of instances belong to the Deployment
    provisioning_state str
    Provisioning state of the Deployment
    status str
    Status of the Deployment
    deployment_settings DeploymentSettingsResponse
    Deployment settings of the Deployment
    source UserSourceInfoResponse
    Uploaded source information of the deployment.
    active Boolean
    Indicates whether the Deployment is active
    appName String
    App name of the deployment
    createdTime String
    Date time when the resource is created
    instances List<Property Map>
    Collection of instances belong to the Deployment
    provisioningState String
    Provisioning state of the Deployment
    status String
    Status of the Deployment
    deploymentSettings Property Map
    Deployment settings of the Deployment
    source Property Map
    Uploaded source information of the deployment.

    DeploymentSettingsResponse

    Cpu int
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    EnvironmentVariables Dictionary<string, string>
    Collection of environment variables
    JvmOptions string
    JVM parameter
    MemoryInGB int
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    NetCoreMainEntryPath string
    The path to the .NET executable relative to zip root
    RuntimeVersion string
    Runtime version
    Cpu int
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    EnvironmentVariables map[string]string
    Collection of environment variables
    JvmOptions string
    JVM parameter
    MemoryInGB int
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    NetCoreMainEntryPath string
    The path to the .NET executable relative to zip root
    RuntimeVersion string
    Runtime version
    cpu Integer
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    environmentVariables Map<String,String>
    Collection of environment variables
    jvmOptions String
    JVM parameter
    memoryInGB Integer
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    netCoreMainEntryPath String
    The path to the .NET executable relative to zip root
    runtimeVersion String
    Runtime version
    cpu number
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    environmentVariables {[key: string]: string}
    Collection of environment variables
    jvmOptions string
    JVM parameter
    memoryInGB number
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    netCoreMainEntryPath string
    The path to the .NET executable relative to zip root
    runtimeVersion string
    Runtime version
    cpu int
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    environment_variables Mapping[str, str]
    Collection of environment variables
    jvm_options str
    JVM parameter
    memory_in_gb int
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    net_core_main_entry_path str
    The path to the .NET executable relative to zip root
    runtime_version str
    Runtime version
    cpu Number
    Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
    environmentVariables Map<String>
    Collection of environment variables
    jvmOptions String
    JVM parameter
    memoryInGB Number
    Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
    netCoreMainEntryPath String
    The path to the .NET executable relative to zip root
    runtimeVersion String
    Runtime version

    SkuResponse

    Capacity int
    Current capacity of the target resource
    Name string
    Name of the Sku
    Tier string
    Tier of the Sku
    Capacity int
    Current capacity of the target resource
    Name string
    Name of the Sku
    Tier string
    Tier of the Sku
    capacity Integer
    Current capacity of the target resource
    name String
    Name of the Sku
    tier String
    Tier of the Sku
    capacity number
    Current capacity of the target resource
    name string
    Name of the Sku
    tier string
    Tier of the Sku
    capacity int
    Current capacity of the target resource
    name str
    Name of the Sku
    tier str
    Tier of the Sku
    capacity Number
    Current capacity of the target resource
    name String
    Name of the Sku
    tier String
    Tier of the Sku

    UserSourceInfoResponse

    ArtifactSelector string
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    RelativePath string
    Relative path of the storage which stores the source
    Type string
    Type of the source uploaded
    Version string
    Version of the source
    ArtifactSelector string
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    RelativePath string
    Relative path of the storage which stores the source
    Type string
    Type of the source uploaded
    Version string
    Version of the source
    artifactSelector String
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    relativePath String
    Relative path of the storage which stores the source
    type String
    Type of the source uploaded
    version String
    Version of the source
    artifactSelector string
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    relativePath string
    Relative path of the storage which stores the source
    type string
    Type of the source uploaded
    version string
    Version of the source
    artifact_selector str
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    relative_path str
    Relative path of the storage which stores the source
    type str
    Type of the source uploaded
    version str
    Version of the source
    artifactSelector String
    Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project.
    relativePath String
    Relative path of the storage which stores the source
    type String
    Type of the source uploaded
    version String
    Version of the source

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi