azure-native-v2.batch.ApplicationPackage
Explore with Pulumi AI
An application package which represents a particular version of an application. Azure REST API version: 2023-05-01. Prior API version in Azure Native 1.x: 2021-01-01.
Other available API versions: 2023-11-01, 2024-02-01, 2024-07-01.
Create ApplicationPackage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationPackage(name: string, args: ApplicationPackageArgs, opts?: CustomResourceOptions);
@overload
def ApplicationPackage(resource_name: str,
args: ApplicationPackageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationPackage(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
application_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
version_name: Optional[str] = None)
func NewApplicationPackage(ctx *Context, name string, args ApplicationPackageArgs, opts ...ResourceOption) (*ApplicationPackage, error)
public ApplicationPackage(string name, ApplicationPackageArgs args, CustomResourceOptions? opts = null)
public ApplicationPackage(String name, ApplicationPackageArgs args)
public ApplicationPackage(String name, ApplicationPackageArgs args, CustomResourceOptions options)
type: azure-native:batch:ApplicationPackage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ApplicationPackageArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. ApplicationPackageArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ApplicationPackageArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. ApplicationPackageArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. ApplicationPackageArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var applicationPackageResource = new AzureNative.Batch.ApplicationPackage("applicationPackageResource", new()
{
AccountName = "string",
ApplicationName = "string",
ResourceGroupName = "string",
VersionName = "string",
});
example, err := batch.NewApplicationPackage(ctx, "applicationPackageResource", &batch.ApplicationPackageArgs{
AccountName: "string",
ApplicationName: "string",
ResourceGroupName: "string",
VersionName: "string",
})
var applicationPackageResource = new ApplicationPackage("applicationPackageResource", ApplicationPackageArgs.builder()
.accountName("string")
.applicationName("string")
.resourceGroupName("string")
.versionName("string")
.build());
application_package_resource = azure_native.batch.ApplicationPackage("applicationPackageResource",
account_name=string,
application_name=string,
resource_group_name=string,
version_name=string)
const applicationPackageResource = new azure_native.batch.ApplicationPackage("applicationPackageResource", {
accountName: "string",
applicationName: "string",
resourceGroupName: "string",
versionName: "string",
});
type: azure-native:batch:ApplicationPackage
properties:
accountName: string
applicationName: string
resourceGroupName: string
versionName: string
ApplicationPackage Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApplicationPackage resource accepts the following input properties:
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- Application
Name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- Version
Name Changes to this property will trigger replacement.
- The version of the application.
- Account
Name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- Application
Name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- Version
Name Changes to this property will trigger replacement.
- The version of the application.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- application
Name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- version
Name Changes to this property will trigger replacement.
- The version of the application.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- application
Name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- version
Name Changes to this property will trigger replacement.
- The version of the application.
- account_
name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- application_
name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- version_
name Changes to this property will trigger replacement.
- The version of the application.
- account
Name This property is required. Changes to this property will trigger replacement.
- The name of the Batch account.
- application
Name This property is required. Changes to this property will trigger replacement.
- The name of the application. This must be unique within the account.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group that contains the Batch account.
- version
Name Changes to this property will trigger replacement.
- The version of the application.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationPackage resource produces the following output properties:
- Etag string
- The ETag of the resource, used for concurrency statements.
- Format string
- The format of the application package, if the package is active.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Activation stringTime - The time at which the package was last activated, if the package is active.
- Name string
- The name of the resource.
- State string
- The current state of the application package.
- Storage
Url string - The URL for the application package in Azure Storage.
- Storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- Type string
- The type of the resource.
- Etag string
- The ETag of the resource, used for concurrency statements.
- Format string
- The format of the application package, if the package is active.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Activation stringTime - The time at which the package was last activated, if the package is active.
- Name string
- The name of the resource.
- State string
- The current state of the application package.
- Storage
Url string - The URL for the application package in Azure Storage.
- Storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- Type string
- The type of the resource.
- etag String
- The ETag of the resource, used for concurrency statements.
- format String
- The format of the application package, if the package is active.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Activation StringTime - The time at which the package was last activated, if the package is active.
- name String
- The name of the resource.
- state String
- The current state of the application package.
- storage
Url String - The URL for the application package in Azure Storage.
- storage
Url StringExpiry - The UTC time at which the Azure Storage URL will expire.
- type String
- The type of the resource.
- etag string
- The ETag of the resource, used for concurrency statements.
- format string
- The format of the application package, if the package is active.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Activation stringTime - The time at which the package was last activated, if the package is active.
- name string
- The name of the resource.
- state string
- The current state of the application package.
- storage
Url string - The URL for the application package in Azure Storage.
- storage
Url stringExpiry - The UTC time at which the Azure Storage URL will expire.
- type string
- The type of the resource.
- etag str
- The ETag of the resource, used for concurrency statements.
- format str
- The format of the application package, if the package is active.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
activation_ strtime - The time at which the package was last activated, if the package is active.
- name str
- The name of the resource.
- state str
- The current state of the application package.
- storage_
url str - The URL for the application package in Azure Storage.
- storage_
url_ strexpiry - The UTC time at which the Azure Storage URL will expire.
- type str
- The type of the resource.
- etag String
- The ETag of the resource, used for concurrency statements.
- format String
- The format of the application package, if the package is active.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Activation StringTime - The time at which the package was last activated, if the package is active.
- name String
- The name of the resource.
- state String
- The current state of the application package.
- storage
Url String - The URL for the application package in Azure Storage.
- storage
Url StringExpiry - The UTC time at which the Azure Storage URL will expire.
- type String
- The type of the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:batch:ApplicationPackage 1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}/versions/{versionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0