azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.b...

30 строки
3.5 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.batch.models.Pool.UpdateStages.WithCertificates"
fullName: "com.azure.resourcemanager.batch.models.Pool.UpdateStages.WithCertificates"
name: "Pool.UpdateStages.WithCertificates"
nameWithType: "Pool.UpdateStages.WithCertificates"
summary: "The stage of the Pool update allowing to specify certificates."
syntax: "public static interface **Pool.UpdateStages.WithCertificates**"
methods:
- uid: "com.azure.resourcemanager.batch.models.Pool.UpdateStages.WithCertificates.withCertificates(java.util.List<com.azure.resourcemanager.batch.models.CertificateReference>)"
fullName: "com.azure.resourcemanager.batch.models.Pool.UpdateStages.WithCertificates.withCertificates(List<CertificateReference> certificates)"
name: "withCertificates(List<CertificateReference> certificates)"
nameWithType: "Pool.UpdateStages.WithCertificates.withCertificates(List<CertificateReference> certificates)"
summary: "Specifies the certificates property: For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location."
modifiers:
- "abstract"
parameters:
- description: "For Windows compute nodes, the Batch service installs the certificates to the\n specified certificate store and location. For Linux compute nodes, the certificates are stored in a\n directory inside the task working directory and an environment variable AZ_BATCH_CERTIFICATES_DIR is\n supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a\n 'certs' directory is created in the user's home directory (e.g., /home/{user-name}/certs) and\n certificates are placed in that directory.\n \n Warning: This property is deprecated and will be removed after February, 2024. Please use the [Azure\n KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead."
name: "certificates"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.batch.models.CertificateReference?alt=com.azure.resourcemanager.batch.models.CertificateReference&text=CertificateReference\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public abstract Pool.Update withCertificates(List<CertificateReference> certificates)"
desc: "Specifies the certificates property: For Windows compute nodes, the Batch service installs the certificates to the specified certificate store and location. For Linux compute nodes, the certificates are stored in a directory inside the task working directory and an environment variable AZ\\_BATCH\\_CERTIFICATES\\_DIR is supplied to the task to query for this location. For certificates with visibility of 'remoteUser', a 'certs' directory is created in the user's home directory (e.g., /home/\\{user-name\\}/certs) and certificates are placed in that directory. Warning: This property is deprecated and will be removed after February, 2024. Please use the \\[Azure KeyVault Extension\\](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.."
returns:
description: "the next definition stage."
type: "<xref href=\"com.azure.resourcemanager.batch.models.Pool.Update?alt=com.azure.resourcemanager.batch.models.Pool.Update&text=Update\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the Pool update allowing to specify certificates."
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:2.0.0