Class ResourceFileArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.azurenative.batch.inputs.ResourceFileArgs
-
public final class ResourceFileArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceFileArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResourceFileArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.String>>
autoStorageContainerName()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
blobPrefix()
static ResourceFileArgs.Builder
builder()
static ResourceFileArgs.Builder
builder(ResourceFileArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
fileMode()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
filePath()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
httpUrl()
java.util.Optional<com.pulumi.core.Output<ComputeNodeIdentityReferenceArgs>>
identityReference()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
storageContainerUrl()
-
-
-
Field Detail
-
Empty
public static final ResourceFileArgs Empty
-
-
Method Detail
-
autoStorageContainerName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> autoStorageContainerName()
- Returns:
- The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified.
-
blobPrefix
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> blobPrefix()
- Returns:
- The property is valid only when autoStorageContainerName or storageContainerUrl is used. This prefix can be a partial filename or a subdirectory. If a prefix is not specified, all the files in the container will be downloaded.
-
fileMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> fileMode()
- Returns:
- This property applies only to files being downloaded to Linux compute nodes. It will be ignored if it is specified for a resourceFile which will be downloaded to a Windows node. If this property is not specified for a Linux node, then a default value of 0770 is applied to the file.
-
filePath
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filePath()
- Returns:
- If the httpUrl property is specified, the filePath is required and describes the path which the file will be downloaded to, including the filename. Otherwise, if the autoStorageContainerName or storageContainerUrl property is specified, filePath is optional and is the directory to download the files to. In the case where filePath is used as a directory, any directory structure already associated with the input data will be retained in full and appended to the specified filePath directory. The specified relative path cannot break out of the task's working directory (for example by using '..').
-
httpUrl
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> httpUrl()
- Returns:
- The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. If the URL points to Azure Blob Storage, it must be readable from compute nodes. There are three ways to get such a URL for a blob in Azure storage: include a Shared Access Signature (SAS) granting read permissions on the blob, use a managed identity with read permission, or set the ACL for the blob or its container to allow public access.
-
identityReference
public java.util.Optional<com.pulumi.core.Output<ComputeNodeIdentityReferenceArgs>> identityReference()
- Returns:
- The reference to a user assigned identity associated with the Batch pool which a compute node will use.
-
storageContainerUrl
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> storageContainerUrl()
- Returns:
- The autoStorageContainerName, storageContainerUrl and httpUrl properties are mutually exclusive and one of them must be specified. This URL must be readable and listable from compute nodes. There are three ways to get such a URL for a container in Azure storage: include a Shared Access Signature (SAS) granting read and list permissions on the container, use a managed identity with read and list permissions, or set the ACL for the container to allow public access.
-
builder
public static ResourceFileArgs.Builder builder()
-
builder
public static ResourceFileArgs.Builder builder(ResourceFileArgs defaults)
-
-