Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR batch/data-plane] Make Batch Resources Proper Nouns #3424

Merged
merged 1 commit into from
Jun 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,097 changes: 1,552 additions & 1,545 deletions sdk/batch/batch/src/models/index.ts

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions sdk/batch/batch/src/operations/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class Account {
}

/**
* Gets the number of nodes in each state, grouped by pool.
* Gets the number of Compute Nodes in each state, grouped by Pool.
* @param [options] The optional parameters
* @returns Promise<Models.AccountListPoolNodeCountsResponse>
*/
Expand Down Expand Up @@ -103,7 +103,7 @@ export class Account {
}

/**
* Gets the number of nodes in each state, grouped by pool.
* Gets the number of Compute Nodes in each state, grouped by Pool.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.AccountListPoolNodeCountsResponse>
Expand Down
36 changes: 18 additions & 18 deletions sdk/batch/batch/src/operations/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export class Application {
}

/**
* This operation returns only applications and versions that are available for use on compute
* nodes; that is, that can be used in an application package reference. For administrator
* information about applications and versions that are not yet available to compute nodes, use the
* Azure portal or the Azure Resource Manager API.
* @summary Lists all of the applications available in the specified account.
* This operation returns only Applications and versions that are available for use on Compute
* Nodes; that is, that can be used in an Package reference. For administrator information about
* applications and versions that are not yet available to Compute Nodes, use the Azure portal or
* the Azure Resource Manager API.
* @summary Lists all of the applications available in the specified Account.
* @param [options] The optional parameters
* @returns Promise<Models.ApplicationListResponse>
*/
Expand All @@ -55,23 +55,23 @@ export class Application {
}

/**
* This operation returns only applications and versions that are available for use on compute
* nodes; that is, that can be used in an application package reference. For administrator
* information about applications and versions that are not yet available to compute nodes, use the
* Azure portal or the Azure Resource Manager API.
* @summary Gets information about the specified application.
* @param applicationId The ID of the application.
* This operation returns only Applications and versions that are available for use on Compute
* Nodes; that is, that can be used in an Package reference. For administrator information about
* Applications and versions that are not yet available to Compute Compute Nodes, use the Azure
* portal or the Azure Resource Manager API.
* @summary Gets information about the specified Application.
* @param applicationId The ID of the Application.
* @param [options] The optional parameters
* @returns Promise<Models.ApplicationGetResponse>
*/
get(applicationId: string, options?: Models.ApplicationGetOptionalParams): Promise<Models.ApplicationGetResponse>;
/**
* @param applicationId The ID of the application.
* @param applicationId The ID of the Application.
* @param callback The callback
*/
get(applicationId: string, callback: msRest.ServiceCallback<Models.ApplicationSummary>): void;
/**
* @param applicationId The ID of the application.
* @param applicationId The ID of the Application.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -87,11 +87,11 @@ export class Application {
}

/**
* This operation returns only applications and versions that are available for use on compute
* nodes; that is, that can be used in an application package reference. For administrator
* information about applications and versions that are not yet available to compute nodes, use the
* Azure portal or the Azure Resource Manager API.
* @summary Lists all of the applications available in the specified account.
* This operation returns only Applications and versions that are available for use on Compute
* Nodes; that is, that can be used in an Package reference. For administrator information about
* applications and versions that are not yet available to Compute Nodes, use the Azure portal or
* the Azure Resource Manager API.
* @summary Lists all of the applications available in the specified Account.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.ApplicationListResponse>
Expand Down
62 changes: 31 additions & 31 deletions sdk/batch/batch/src/operations/certificateOperations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ export class CertificateOperations {
}

/**
* @summary Adds a certificate to the specified account.
* @param certificate The certificate to be added.
* @summary Adds a Certificate to the specified Account.
* @param certificate The Certificate to be added.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateAddResponse>
*/
add(certificate: Models.CertificateAddParameter, options?: Models.CertificateAddOptionalParams): Promise<Models.CertificateAddResponse>;
/**
* @param certificate The certificate to be added.
* @param certificate The Certificate to be added.
* @param callback The callback
*/
add(certificate: Models.CertificateAddParameter, callback: msRest.ServiceCallback<void>): void;
/**
* @param certificate The certificate to be added.
* @param certificate The Certificate to be added.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -55,7 +55,7 @@ export class CertificateOperations {
}

/**
* @summary Lists all of the certificates that have been added to the specified account.
* @summary Lists all of the Certificates that have been added to the specified Account.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateListResponse>
*/
Expand All @@ -79,31 +79,31 @@ export class CertificateOperations {
}

/**
* If you try to delete a certificate that is being used by a pool or compute node, the status of
* the certificate changes to deleteFailed. If you decide that you want to continue using the
* certificate, you can use this operation to set the status of the certificate back to active. If
* you intend to delete the certificate, you do not need to run this operation after the deletion
* failed. You must make sure that the certificate is not being used by any resources, and then you
* can try again to delete the certificate.
* @summary Cancels a failed deletion of a certificate from the specified account.
* If you try to delete a Certificate that is being used by a Pool or Compute Node, the status of
* the Certificate changes to deleteFailed. If you decide that you want to continue using the
* Certificate, you can use this operation to set the status of the Certificate back to active. If
* you intend to delete the Certificate, you do not need to run this operation after the deletion
* failed. You must make sure that the Certificate is not being used by any resources, and then you
* can try again to delete the Certificate.
* @summary Cancels a failed deletion of a Certificate from the specified Account.
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate being deleted.
* @param thumbprint The thumbprint of the Certificate being deleted.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateCancelDeletionResponse>
*/
cancelDeletion(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateCancelDeletionOptionalParams): Promise<Models.CertificateCancelDeletionResponse>;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate being deleted.
* @param thumbprint The thumbprint of the Certificate being deleted.
* @param callback The callback
*/
cancelDeletion(thumbprintAlgorithm: string, thumbprint: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate being deleted.
* @param thumbprint The thumbprint of the Certificate being deleted.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -120,33 +120,33 @@ export class CertificateOperations {
}

/**
* You cannot delete a certificate if a resource (pool or compute node) is using it. Before you can
* delete a certificate, you must therefore make sure that the certificate is not associated with
* any existing pools, the certificate is not installed on any compute nodes (even if you remove a
* certificate from a pool, it is not removed from existing compute nodes in that pool until they
* restart), and no running tasks depend on the certificate. If you try to delete a certificate
* that is in use, the deletion fails. The certificate status changes to deleteFailed. You can use
* You cannot delete a Certificate if a resource (Pool or Compute Node) is using it. Before you can
* delete a Certificate, you must therefore make sure that the Certificate is not associated with
* any existing Pools, the Certificate is not installed on any Nodes (even if you remove a
* Certificate from a Pool, it is not removed from existing Compute Nodes in that Pool until they
* restart), and no running Tasks depend on the Certificate. If you try to delete a Certificate
* that is in use, the deletion fails. The Certificate status changes to deleteFailed. You can use
* Cancel Delete Certificate to set the status back to active if you decide that you want to
* continue using the certificate.
* @summary Deletes a certificate from the specified account.
* continue using the Certificate.
* @summary Deletes a Certificate from the specified Account.
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to be deleted.
* @param thumbprint The thumbprint of the Certificate to be deleted.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateDeleteResponse>
*/
deleteMethod(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateDeleteMethodOptionalParams): Promise<Models.CertificateDeleteResponse>;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to be deleted.
* @param thumbprint The thumbprint of the Certificate to be deleted.
* @param callback The callback
*/
deleteMethod(thumbprintAlgorithm: string, thumbprint: string, callback: msRest.ServiceCallback<void>): void;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to be deleted.
* @param thumbprint The thumbprint of the Certificate to be deleted.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -163,25 +163,25 @@ export class CertificateOperations {
}

/**
* Gets information about the specified certificate.
* Gets information about the specified Certificate.
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to get.
* @param thumbprint The thumbprint of the Certificate to get.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateGetResponse>
*/
get(thumbprintAlgorithm: string, thumbprint: string, options?: Models.CertificateGetOptionalParams): Promise<Models.CertificateGetResponse>;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to get.
* @param thumbprint The thumbprint of the Certificate to get.
* @param callback The callback
*/
get(thumbprintAlgorithm: string, thumbprint: string, callback: msRest.ServiceCallback<Models.Certificate>): void;
/**
* @param thumbprintAlgorithm The algorithm used to derive the thumbprint parameter. This must be
* sha1.
* @param thumbprint The thumbprint of the certificate to get.
* @param thumbprint The thumbprint of the Certificate to get.
* @param options The optional parameters
* @param callback The callback
*/
Expand All @@ -198,7 +198,7 @@ export class CertificateOperations {
}

/**
* @summary Lists all of the certificates that have been added to the specified account.
* @summary Lists all of the Certificates that have been added to the specified Account.
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param [options] The optional parameters
* @returns Promise<Models.CertificateListResponse>
Expand Down
Loading