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

91 строка
6.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference"
name: "ApplicationPackageReference"
nameWithType: "ApplicationPackageReference"
summary: "Link to an application package inside the batch account."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ApplicationPackageReference**"
constructors:
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.ApplicationPackageReference()"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.ApplicationPackageReference()"
name: "ApplicationPackageReference()"
nameWithType: "ApplicationPackageReference.ApplicationPackageReference()"
syntax: "public ApplicationPackageReference()"
methods:
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.id()"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.id()"
name: "id()"
nameWithType: "ApplicationPackageReference.id()"
summary: "Get the id property: The ID of the application package to install."
syntax: "public String id()"
desc: "Get the id property: The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists."
returns:
description: "the id value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.validate()"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.validate()"
name: "validate()"
nameWithType: "ApplicationPackageReference.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.version()"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.version()"
name: "version()"
nameWithType: "ApplicationPackageReference.version()"
summary: "Get the version property: The version of the application to deploy."
syntax: "public String version()"
desc: "Get the version property: The version of the application to deploy. If omitted, the default version is deployed. If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409."
returns:
description: "the version value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.withId(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.withId(String id)"
name: "withId(String id)"
nameWithType: "ApplicationPackageReference.withId(String id)"
summary: "Set the id property: The ID of the application package to install."
parameters:
- description: "the id value to set."
name: "id"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ApplicationPackageReference withId(String id)"
desc: "Set the id property: The ID of the application package to install. This must be inside the same batch account as the pool. This can either be a reference to a specific version or the default version if one exists."
returns:
description: "the ApplicationPackageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.ApplicationPackageReference?alt=com.azure.resourcemanager.batch.models.ApplicationPackageReference&text=ApplicationPackageReference\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.withVersion(java.lang.String)"
fullName: "com.azure.resourcemanager.batch.models.ApplicationPackageReference.withVersion(String version)"
name: "withVersion(String version)"
nameWithType: "ApplicationPackageReference.withVersion(String version)"
summary: "Set the version property: The version of the application to deploy."
parameters:
- description: "the version value to set."
name: "version"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ApplicationPackageReference withVersion(String version)"
desc: "Set the version property: The version of the application to deploy. If omitted, the default version is deployed. If this is omitted, and no default version is specified for this application, the request fails with the error code InvalidApplicationPackageReferences. If you are calling the REST API directly, the HTTP status code is 409."
returns:
description: "the ApplicationPackageReference object itself."
type: "<xref href=\"com.azure.resourcemanager.batch.models.ApplicationPackageReference?alt=com.azure.resourcemanager.batch.models.ApplicationPackageReference&text=ApplicationPackageReference\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Link to an application package inside the batch account."
metadata: {}
package: "com.azure.resourcemanager.batch.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-batch:1.0.0