azure-native.appplatform.getDeployment
Explore with Pulumi AI
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:
- App
Name string The name of the App resource.
- Deployment
Name string The name of the Deployment resource.
- Resource
Group stringName 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 string The name of the Service resource.
- App
Name string The name of the App resource.
- Deployment
Name string The name of the Deployment resource.
- Resource
Group stringName 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 string The name of the Service resource.
- app
Name String The name of the App resource.
- deployment
Name String The name of the Deployment resource.
- resource
Group StringName 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 String The name of the Service resource.
- app
Name string The name of the App resource.
- deployment
Name string The name of the Deployment resource.
- resource
Group stringName 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 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_ strname 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.
- app
Name String The name of the App resource.
- deployment
Name String The name of the Deployment resource.
- resource
Group StringName 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 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.
Azure Native. App Platform. Outputs. Deployment Resource Properties Response Properties of the Deployment resource
- Type string
The type of the resource.
- Sku
Pulumi.
Azure Native. App Platform. Outputs. Sku Response Sku of the Deployment resource
- Id string
Fully qualified resource Id for the resource.
- Name string
The name of the resource.
- Properties
Deployment
Resource Properties Response Properties of the Deployment resource
- Type string
The type of the resource.
- Sku
Sku
Response Sku of the Deployment resource
- id String
Fully qualified resource Id for the resource.
- name String
The name of the resource.
- properties
Deployment
Resource Properties Response Properties of the Deployment resource
- type String
The type of the resource.
- sku
Sku
Response Sku of the Deployment resource
- id string
Fully qualified resource Id for the resource.
- name string
The name of the resource.
- properties
Deployment
Resource Properties Response Properties of the Deployment resource
- type string
The type of the resource.
- sku
Sku
Response Sku of the Deployment resource
- id str
Fully qualified resource Id for the resource.
- name str
The name of the resource.
- properties
Deployment
Resource Properties Response Properties of the Deployment resource
- type str
The type of the resource.
- sku
Sku
Response 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
- Discovery
Status string Discovery status of the deployment instance
- Name string
Name of the deployment instance
- Reason string
Failed reason of the deployment instance
- Start
Time string Start time of the deployment instance
- Status string
Status of the deployment instance
- Discovery
Status string Discovery status of the deployment instance
- Name string
Name of the deployment instance
- Reason string
Failed reason of the deployment instance
- Start
Time string Start time of the deployment instance
- Status string
Status of the deployment instance
- discovery
Status String Discovery status of the deployment instance
- name String
Name of the deployment instance
- reason String
Failed reason of the deployment instance
- start
Time String Start time of the deployment instance
- status String
Status of the deployment instance
- discovery
Status string Discovery status of the deployment instance
- name string
Name of the deployment instance
- reason string
Failed reason of the deployment instance
- start
Time 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
- discovery
Status String Discovery status of the deployment instance
- name String
Name of the deployment instance
- reason String
Failed reason of the deployment instance
- start
Time String Start time of the deployment instance
- status String
Status of the deployment instance
DeploymentResourcePropertiesResponse
- Active bool
Indicates whether the Deployment is active
- App
Name string App name of the deployment
- Created
Time string Date time when the resource is created
- Instances
List<Pulumi.
Azure Native. App Platform. Inputs. Deployment Instance Response> Collection of instances belong to the Deployment
- Provisioning
State string Provisioning state of the Deployment
- Status string
Status of the Deployment
- Deployment
Settings Pulumi.Azure Native. App Platform. Inputs. Deployment Settings Response Deployment settings of the Deployment
- Source
Pulumi.
Azure Native. App Platform. Inputs. User Source Info Response Uploaded source information of the deployment.
- Active bool
Indicates whether the Deployment is active
- App
Name string App name of the deployment
- Created
Time string Date time when the resource is created
- Instances
[]Deployment
Instance Response Collection of instances belong to the Deployment
- Provisioning
State string Provisioning state of the Deployment
- Status string
Status of the Deployment
- Deployment
Settings DeploymentSettings Response Deployment settings of the Deployment
- Source
User
Source Info Response Uploaded source information of the deployment.
- active Boolean
Indicates whether the Deployment is active
- app
Name String App name of the deployment
- created
Time String Date time when the resource is created
- instances
List<Deployment
Instance Response> Collection of instances belong to the Deployment
- provisioning
State String Provisioning state of the Deployment
- status String
Status of the Deployment
- deployment
Settings DeploymentSettings Response Deployment settings of the Deployment
- source
User
Source Info Response Uploaded source information of the deployment.
- active boolean
Indicates whether the Deployment is active
- app
Name string App name of the deployment
- created
Time string Date time when the resource is created
- instances
Deployment
Instance Response[] Collection of instances belong to the Deployment
- provisioning
State string Provisioning state of the Deployment
- status string
Status of the Deployment
- deployment
Settings DeploymentSettings Response Deployment settings of the Deployment
- source
User
Source Info Response 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[Deployment
Instance Response] Collection of instances belong to the Deployment
- provisioning_
state str Provisioning state of the Deployment
- status str
Status of the Deployment
- deployment_
settings DeploymentSettings Response Deployment settings of the Deployment
- source
User
Source Info Response Uploaded source information of the deployment.
- active Boolean
Indicates whether the Deployment is active
- app
Name String App name of the deployment
- created
Time String Date time when the resource is created
- instances List<Property Map>
Collection of instances belong to the Deployment
- provisioning
State String Provisioning state of the Deployment
- status String
Status of the Deployment
- deployment
Settings 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)
- Environment
Variables Dictionary<string, string> Collection of environment variables
- Jvm
Options string JVM parameter
- Memory
In intGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path The path to the .NET executable relative to zip root
- Runtime
Version string Runtime version
- Cpu int
Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- Environment
Variables map[string]string Collection of environment variables
- Jvm
Options string JVM parameter
- Memory
In intGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- Net
Core stringMain Entry Path The path to the .NET executable relative to zip root
- Runtime
Version string Runtime version
- cpu Integer
Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables Map<String,String> Collection of environment variables
- jvm
Options String JVM parameter
- memory
In IntegerGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path The path to the .NET executable relative to zip root
- runtime
Version String Runtime version
- cpu number
Required CPU, basic tier should be 1, standard tier should be in range (1, 4)
- environment
Variables {[key: string]: string} Collection of environment variables
- jvm
Options string JVM parameter
- memory
In numberGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core stringMain Entry Path The path to the .NET executable relative to zip root
- runtime
Version 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_ intgb Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net_
core_ strmain_ entry_ path 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)
- environment
Variables Map<String> Collection of environment variables
- jvm
Options String JVM parameter
- memory
In NumberGB Required Memory size in GB, basic tier should be in range (1, 2), standard tier should be in range (1, 8)
- net
Core StringMain Entry Path The path to the .NET executable relative to zip root
- runtime
Version String Runtime version
SkuResponse
UserSourceInfoResponse
- Artifact
Selector 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.
- Relative
Path 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 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.
- Relative
Path 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 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.
- relative
Path 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 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.
- relative
Path 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
- artifact
Selector 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.
- relative
Path 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 pulumi/pulumi-azure-native
- License
- Apache-2.0