Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR apimanagement/resource-manager] Added example for template params #4233

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class ApiManagementServiceBaseProperties {
* installed in the API Management service. Max supported certificates that
* can be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API
* Managemet service needs to be configured in. None (Default Value) means
* Management service needs to be configured in. None (Default Value) means
* the API Management service is not part of any Virtual Network, External
* means the API Management deployment is set up inside a Virtual Network
* having an Internet Facing Endpoint, and Internal means that API Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ApiManagementServiceResource extends models['ApimResource'] {
* installed in the API Management service. Max supported certificates that
* can be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API
* Managemet service needs to be configured in. None (Default Value) means
* Management service needs to be configured in. None (Default Value) means
* the API Management service is not part of any Virtual Network, External
* means the API Management deployment is set up inside a Virtual Network
* having an Internet Facing Endpoint, and Internal means that API Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ApiManagementServiceUpdateParameters extends models['ApimResource'] {
* installed in the API Management service. Max supported certificates that
* can be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API
* Managemet service needs to be configured in. None (Default Value) means
* Management service needs to be configured in. None (Default Value) means
* the API Management service is not part of any Virtual Network, External
* means the API Management deployment is set up inside a Virtual Network
* having an Internet Facing Endpoint, and Internal means that API Management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class BackendReconnectContract extends models['Resource'] {
/**
* Create a BackendReconnectContract.
* @member {moment.duration} [after] Duration in ISO8601 format after which
* reconnect will be initiated. Minimum duration of the Reconect is PT2M.
* reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CertificateConfiguration {
* @member {string} [encodedCertificate] Base64 Encoded certificate.
* @member {string} [certificatePassword] Certificate Password.
* @member {string} storeName The
* System.Security.Cryptography.x509certificates.Storename certificate store
* System.Security.Cryptography.x509certificates.StoreName certificate store
* location. Only Root and CertificateAuthority are valid locations. Possible
* values include: 'CertificateAuthority', 'Root'
* @member {object} [certificate] Certificate information.
Expand Down
42 changes: 21 additions & 21 deletions lib/services/apimanagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ export interface BackendUpdateParameters {
* Reconnect request parameters.
*
* @member {moment.duration} [after] Duration in ISO8601 format after which
* reconnect will be initiated. Minimum duration of the Reconect is PT2M.
* reconnect will be initiated. Minimum duration of the Reconnect is PT2M.
*/
export interface BackendReconnectContract extends Resource {
after?: moment.Duration;
Expand Down Expand Up @@ -1888,7 +1888,7 @@ export interface CertificateInformation {
* @member {string} [encodedCertificate] Base64 Encoded certificate.
* @member {string} [certificatePassword] Certificate Password.
* @member {string} storeName The
* System.Security.Cryptography.x509certificates.Storename certificate store
* System.Security.Cryptography.x509certificates.StoreName certificate store
* location. Only Root and CertificateAuthority are valid locations. Possible
* values include: 'CertificateAuthority', 'Root'
* @member {object} [certificate] Certificate information.
Expand Down Expand Up @@ -2103,10 +2103,10 @@ export interface ApiManagementServiceBackupRestoreParameters {
* @member {array} [certificates] List of Certificates that need to be
* installed in the API Management service. Max supported certificates that can
* be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API Managemet
* service needs to be configured in. None (Default Value) means the API
* Management service is not part of any Virtual Network, External means the
* API Management deployment is set up inside a Virtual Network having an
* @member {string} [virtualNetworkType] The type of VPN in which API
* Management service needs to be configured in. None (Default Value) means the
* API Management service is not part of any Virtual Network, External means
* the API Management deployment is set up inside a Virtual Network having an
* Internet Facing Endpoint, and Internal means that API Management deployment
* is setup inside a Virtual Network having an Intranet Facing Endpoint only.
* Possible values include: 'None', 'External', 'Internal'. Default value:
Expand Down Expand Up @@ -2222,10 +2222,10 @@ export interface ApimResource extends BaseResource {
* @member {array} [certificates] List of Certificates that need to be
* installed in the API Management service. Max supported certificates that can
* be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API Managemet
* service needs to be configured in. None (Default Value) means the API
* Management service is not part of any Virtual Network, External means the
* API Management deployment is set up inside a Virtual Network having an
* @member {string} [virtualNetworkType] The type of VPN in which API
* Management service needs to be configured in. None (Default Value) means the
* API Management service is not part of any Virtual Network, External means
* the API Management deployment is set up inside a Virtual Network having an
* Internet Facing Endpoint, and Internal means that API Management deployment
* is setup inside a Virtual Network having an Intranet Facing Endpoint only.
* Possible values include: 'None', 'External', 'Internal'. Default value:
Expand Down Expand Up @@ -2327,10 +2327,10 @@ export interface ApiManagementServiceResource extends ApimResource {
* @member {array} [certificates] List of Certificates that need to be
* installed in the API Management service. Max supported certificates that can
* be installed is 10.
* @member {string} [virtualNetworkType] The type of VPN in which API Managemet
* service needs to be configured in. None (Default Value) means the API
* Management service is not part of any Virtual Network, External means the
* API Management deployment is set up inside a Virtual Network having an
* @member {string} [virtualNetworkType] The type of VPN in which API
* Management service needs to be configured in. None (Default Value) means the
* API Management service is not part of any Virtual Network, External means
* the API Management deployment is set up inside a Virtual Network having an
* Internet Facing Endpoint, and Internal means that API Management deployment
* is setup inside a Virtual Network having an Intranet Facing Endpoint only.
* Possible values include: 'None', 'External', 'Internal'. Default value:
Expand Down Expand Up @@ -3423,7 +3423,7 @@ export interface QuotaCounterValueContract {
* @member {date} [timestamp] Start of aggregation period. The date conforms to
* the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601
* standard.
* @member {string} [interval] Length of agregation period. Interval must be
* @member {string} [interval] Length of aggregation period. Interval must be
* multiple of 15 minutes and may not be zero. The value should be in ISO 8601
* format (http://en.wikipedia.org/wiki/ISO_8601#Durations).
* @member {string} [country] Country to which this record data is related.
Expand All @@ -3438,11 +3438,11 @@ export interface QuotaCounterValueContract {
* @member {string} [apiRegion] API region identifier.
* @member {string} [subscriptionId] Subscription identifier path.
* /subscriptions/{subscriptionId}
* @member {number} [callCountSuccess] Number of succesful calls. This includes
* calls returning HttpStatusCode <= 301 and HttpStatusCode.NotModified and
* HttpStatusCode.TemporaryRedirect
* @member {number} [callCountSuccess] Number of successful calls. This
* includes calls returning HttpStatusCode <= 301 and
* HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect
* @member {number} [callCountBlocked] Number of calls blocked due to invalid
* credentials. This includes calls returning HttpStatusCode.Unauthorize and
* credentials. This includes calls returning HttpStatusCode.Unauthorized and
* HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests
* @member {number} [callCountFailed] Number of calls failed due to proxy or
* backend errors. This includes calls returning HttpStatusCode.BadRequest(400)
Expand Down Expand Up @@ -3519,7 +3519,7 @@ export interface ReportRecordContract {
* @member {string} [cache] Specifies if response cache was involved in
* generating the response. If the value is none, the cache was not used. If
* the value is hit, cached response was returned. If the value is miss, the
* cache was used but lookup resulted in a miss and request was fullfilled by
* cache was used but lookup resulted in a miss and request was fulfilled by
* the backend.
* @member {number} [apiTime] The total time it took to process this request.
* @member {number} [serviceTime] he time it took to forward this request to
Expand Down Expand Up @@ -3561,7 +3561,7 @@ export interface RequestReportRecordContract {
* @member {string} userId User (user id path) for whom subscription is being
* created in form /users/{uid}
* @member {string} productId Product (product id path) for which subscription
* is being created in form /products/{productid}
* is being created in form /products/{productId}
* @member {string} displayName Subscription name.
* @member {string} [primaryKey] Primary subscription key. If not specified
* during request key will be generated automatically.
Expand Down
8 changes: 4 additions & 4 deletions lib/services/apimanagement/lib/models/reportRecordContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class ReportRecordContract {
* @member {date} [timestamp] Start of aggregation period. The date conforms
* to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO
* 8601 standard.
* @member {string} [interval] Length of agregation period. Interval must be
* multiple of 15 minutes and may not be zero. The value should be in ISO
* @member {string} [interval] Length of aggregation period. Interval must
* be multiple of 15 minutes and may not be zero. The value should be in ISO
* 8601 format (http://en.wikipedia.org/wiki/ISO_8601#Durations).
* @member {string} [country] Country to which this record data is related.
* @member {string} [region] Country region to which this record data is
Expand All @@ -38,11 +38,11 @@ class ReportRecordContract {
* @member {string} [apiRegion] API region identifier.
* @member {string} [subscriptionId] Subscription identifier path.
* /subscriptions/{subscriptionId}
* @member {number} [callCountSuccess] Number of succesful calls. This
* @member {number} [callCountSuccess] Number of successful calls. This
* includes calls returning HttpStatusCode <= 301 and
* HttpStatusCode.NotModified and HttpStatusCode.TemporaryRedirect
* @member {number} [callCountBlocked] Number of calls blocked due to invalid
* credentials. This includes calls returning HttpStatusCode.Unauthorize and
* credentials. This includes calls returning HttpStatusCode.Unauthorized and
* HttpStatusCode.Forbidden and HttpStatusCode.TooManyRequests
* @member {number} [callCountFailed] Number of calls failed due to proxy or
* backend errors. This includes calls returning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RequestReportRecordContract {
* @member {string} [cache] Specifies if response cache was involved in
* generating the response. If the value is none, the cache was not used. If
* the value is hit, cached response was returned. If the value is miss, the
* cache was used but lookup resulted in a miss and request was fullfilled by
* cache was used but lookup resulted in a miss and request was fulfilled by
* the backend.
* @member {number} [apiTime] The total time it took to process this request.
* @member {number} [serviceTime] he time it took to forward this request to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SubscriptionCreateParameters {
* @member {string} userId User (user id path) for whom subscription is being
* created in form /users/{uid}
* @member {string} productId Product (product id path) for which
* subscription is being created in form /products/{productid}
* subscription is being created in form /products/{productId}
* @member {string} displayName Subscription name.
* @member {string} [primaryKey] Primary subscription key. If not specified
* during request key will be generated automatically.
Expand Down
18 changes: 9 additions & 9 deletions lib/services/apimanagement/lib/operations/apiDiagnosticLogger.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure');
const WebResource = msRest.WebResource;

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -463,7 +463,7 @@ function _checkEntityExists(resourceGroupName, serviceName, apiId, diagnosticId,
}

/**
* Attaches a logger to a dignostic for an API.
* Attaches a logger to a diagnostic for an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -900,7 +900,7 @@ function _deleteMethod(resourceGroupName, serviceName, apiId, diagnosticId, logg
}

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -1043,7 +1043,7 @@ class ApiDiagnosticLogger {
}

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1091,7 +1091,7 @@ class ApiDiagnosticLogger {
}

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1266,7 +1266,7 @@ class ApiDiagnosticLogger {
}

/**
* Attaches a logger to a dignostic for an API.
* Attaches a logger to a diagnostic for an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1307,7 +1307,7 @@ class ApiDiagnosticLogger {
}

/**
* Attaches a logger to a dignostic for an API.
* Attaches a logger to a diagnostic for an API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1473,7 +1473,7 @@ class ApiDiagnosticLogger {
}

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -1504,7 +1504,7 @@ class ApiDiagnosticLogger {
}

/**
* Lists all loggers assosiated with the specified Diagnostic of an API.
* Lists all loggers associated with the specified Diagnostic of an API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down
12 changes: 6 additions & 6 deletions lib/services/apimanagement/lib/operations/apiIssue.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure');
const WebResource = msRest.WebResource;

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1318,7 +1318,7 @@ function _deleteMethod(resourceGroupName, serviceName, apiId, issueId, ifMatch,
}

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -1463,7 +1463,7 @@ class ApiIssue {
}

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1511,7 +1511,7 @@ class ApiIssue {
}

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -2166,7 +2166,7 @@ class ApiIssue {
}

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -2197,7 +2197,7 @@ class ApiIssue {
}

/**
* Lists all issues assosiated with the specified API.
* Lists all issues associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down
12 changes: 6 additions & 6 deletions lib/services/apimanagement/lib/operations/apiIssueAttachment.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const msRestAzure = require('ms-rest-azure');
const WebResource = msRest.WebResource;

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1189,7 +1189,7 @@ function _deleteMethod(resourceGroupName, serviceName, apiId, issueId, attachmen
}

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -1334,7 +1334,7 @@ class ApiIssueAttachment {
}

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1383,7 +1383,7 @@ class ApiIssueAttachment {
}

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} resourceGroupName The name of the resource group.
*
Expand Down Expand Up @@ -1915,7 +1915,7 @@ class ApiIssueAttachment {
}

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down Expand Up @@ -1946,7 +1946,7 @@ class ApiIssueAttachment {
}

/**
* Lists all comments for the Issue assosiated with the specified API.
* Lists all comments for the Issue associated with the specified API.
*
* @param {string} nextPageLink The NextLink from the previous successful call
* to List operation.
Expand Down
Loading