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

[AutoPR apimanagement/resource-manager] updated formatting for externalid description #3214

Closed
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
6 changes: 3 additions & 3 deletions lib/services/apimanagement/lib/apiManagementClient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ export default class ApiManagementClient extends AzureServiceClient {
*
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
*
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
*
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
*
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*
*/
constructor(credentials: ServiceClientCredentials, subscriptionId: string, baseUri?: string, options?: AzureServiceClientOptions);
Expand Down
6 changes: 3 additions & 3 deletions lib/services/apimanagement/lib/apiManagementClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ class ApiManagementClient extends ServiceClient {
* @param {object} [options.requestOptions] - Options for the underlying request object
* {@link https://github.com/request/request#requestoptions-callback Options doc}
* @param {boolean} [options.noRetryPolicy] - If set to true, turn off default retry policy
* @param {string} [options.acceptLanguage] - Gets or sets the preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
* @param {string} [options.acceptLanguage] - The preferred language for the response.
* @param {number} [options.longRunningOperationRetryTimeout] - The retry timeout in seconds for Long Running Operations. Default value is 30.
* @param {boolean} [options.generateClientRequestId] - Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.
*/
constructor(credentials, subscriptionId, baseUri, options) {
if (credentials === null || credentials === undefined) {
Expand Down
22 changes: 22 additions & 0 deletions lib/services/apimanagement/lib/models/apiContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class ApiContract extends models['Resource'] {
* revision.
* @member {boolean} [isOnline] Indicates if API revision is accessible via
* the gateway.
* @member {string} [apiRevisionDescription] Description of the Api Revision.
* @member {string} [apiVersionDescription] Description of the Api Version.
* @member {string} [apiVersionSetId] A resource identifier for the related
* ApiVersionSet.
* @member {string} [displayName] API name.
Expand Down Expand Up @@ -179,6 +181,26 @@ class ApiContract extends models['Resource'] {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'properties.apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'properties.apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'properties.apiVersionSetId',
Expand Down
20 changes: 20 additions & 0 deletions lib/services/apimanagement/lib/models/apiContractProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,26 @@ class ApiContractProperties extends models['ApiEntityBaseContract'] {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'apiVersionSetId',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class ApiCreateOrUpdateParameter {
* revision.
* @member {boolean} [isOnline] Indicates if API revision is accessible via
* the gateway.
* @member {string} [apiRevisionDescription] Description of the Api Revision.
* @member {string} [apiVersionDescription] Description of the Api Version.
* @member {string} [apiVersionSetId] A resource identifier for the related
* ApiVersionSet.
* @member {string} [displayName] API name.
Expand Down Expand Up @@ -167,6 +169,26 @@ class ApiCreateOrUpdateParameter {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'properties.apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'properties.apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'properties.apiVersionSetId',
Expand Down
22 changes: 22 additions & 0 deletions lib/services/apimanagement/lib/models/apiEntityBaseContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class ApiEntityBaseContract {
* revision.
* @member {boolean} [isOnline] Indicates if API revision is accessible via
* the gateway.
* @member {string} [apiRevisionDescription] Description of the Api Revision.
* @member {string} [apiVersionDescription] Description of the Api Version.
* @member {string} [apiVersionSetId] A resource identifier for the related
* ApiVersionSet.
*/
Expand Down Expand Up @@ -131,6 +133,26 @@ class ApiEntityBaseContract {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'apiVersionSetId',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,26 @@ class ApiTagResourceContractProperties extends models['ApiEntityBaseContract'] {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'apiVersionSetId',
Expand Down
22 changes: 22 additions & 0 deletions lib/services/apimanagement/lib/models/apiUpdateContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ class ApiUpdateContract {
* revision.
* @member {boolean} [isOnline] Indicates if API revision is accessible via
* the gateway.
* @member {string} [apiRevisionDescription] Description of the Api Revision.
* @member {string} [apiVersionDescription] Description of the Api Version.
* @member {string} [apiVersionSetId] A resource identifier for the related
* ApiVersionSet.
* @member {string} [displayName] API name.
Expand Down Expand Up @@ -140,6 +142,26 @@ class ApiUpdateContract {
name: 'Boolean'
}
},
apiRevisionDescription: {
required: false,
serializedName: 'properties.apiRevisionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionDescription: {
required: false,
serializedName: 'properties.apiVersionDescription',
constraints: {
MaxLength: 256
},
type: {
name: 'String'
}
},
apiVersionSetId: {
required: false,
serializedName: 'properties.apiVersionSetId',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class AuthorizationServerContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'ClientAuthenticationMethodElementType',
type: {
name: 'String'
}
Expand Down Expand Up @@ -183,7 +183,7 @@ class AuthorizationServerContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'BearerTokenSendingMethodElementType',
type: {
name: 'String'
}
Expand Down Expand Up @@ -243,7 +243,7 @@ class AuthorizationServerContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'GrantTypeElementType',
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class AuthorizationServerContractBaseProperties {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'ClientAuthenticationMethodElementType',
type: {
name: 'String'
}
Expand Down Expand Up @@ -147,7 +147,7 @@ class AuthorizationServerContractBaseProperties {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'BearerTokenSendingMethodElementType',
type: {
name: 'String'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class AuthorizationServerUpdateContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'ClientAuthenticationMethodElementType',
type: {
name: 'String'
}
Expand Down Expand Up @@ -183,7 +183,7 @@ class AuthorizationServerUpdateContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'BearerTokenSendingMethodElementType',
type: {
name: 'String'
}
Expand Down Expand Up @@ -243,7 +243,7 @@ class AuthorizationServerUpdateContract extends models['Resource'] {
name: 'Sequence',
element: {
required: false,
serializedName: 'StringElementType',
serializedName: 'GrantTypeElementType',
type: {
name: 'String'
}
Expand Down
4 changes: 2 additions & 2 deletions lib/services/apimanagement/lib/models/groupContract.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class GroupContract extends models['Resource'] {
* 'custom', 'system', 'external'
* @member {string} [externalId] For external groups, this property contains
* the id of the group from the external identity provider, e.g. for Azure
* Active Directory aad://<tenant>.onmicrosoft.com/groups/<group object id>;
* otherwise the value is null.
* Active Directory `aad://<tenant>.onmicrosoft.com/groups/<group object
* id>`; otherwise the value is null.
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class GroupContractProperties {
* 'system', 'external'
* @member {string} [externalId] For external groups, this property contains
* the id of the group from the external identity provider, e.g. for Azure
* Active Directory aad://<tenant>.onmicrosoft.com/groups/<group object id>;
* otherwise the value is null.
* Active Directory `aad://<tenant>.onmicrosoft.com/groups/<group object
* id>`; otherwise the value is null.
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GroupCreateParameters {
* @member {string} [externalId] Identifier of the external groups, this
* property contains the id of the group from the external identity provider,
* e.g. for Azure Active Directory
* aad://<tenant>.onmicrosoft.com/groups/<group object id>; otherwise the
* `aad://<tenant>.onmicrosoft.com/groups/<group object id>`; otherwise the
* value is null.
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GroupUpdateParameters {
* @member {string} [externalId] Identifier of the external groups, this
* property contains the id of the group from the external identity provider,
* e.g. for Azure Active Directory
* aad://<tenant>.onmicrosoft.com/groups/<group object id>; otherwise the
* `aad://<tenant>.onmicrosoft.com/groups/<group object id>`; otherwise the
* value is null.
*/
constructor() {
Expand Down
Loading