listPropertiesOfKeyVersionsPage(name, continuationState, options) {
        return tslib.__asyncGenerator(this, arguments, function* listPropertiesOfKeyVersionsPage_1() {
            if (continuationState.continuationToken == null) {
                const optionsComplete = Object.assign({ maxresults: continuationState.maxPageSize }, options);
                const currentSetResponse = yield tslib.__await(withTrace$4("listPropertiesOfKeyVersionsPage", optionsComplete, async (updatedOptions) => this.client.getKeyVersions(this.vaultUrl, name, updatedOptions)));
                continuationState.continuationToken = currentSetResponse.nextLink;
                if (currentSetResponse.value) {
                    yield yield tslib.__await(currentSetResponse.value.map(getKeyPropertiesFromKeyItem, this));
                }
            }
            while (continuationState.continuationToken) {
                const currentSetResponse = yield tslib.__await(withTrace$4("listPropertiesOfKeyVersionsPage", options || {}, async (updatedOptions) => this.client.getKeyVersions(continuationState.continuationToken, name, updatedOptions)));
                continuationState.continuationToken = currentSetResponse.nextLink;
                if (currentSetResponse.value) {
                    yield yield tslib.__await(currentSetResponse.value.map(getKeyPropertiesFromKeyItem, this));
                }
                else {
                    break;
                }
            }
        });
    }
/**
     * @internal
     * @hidden
     * Deals with the pagination of {@link listPropertiesOfKeyVersions}.
     * @param name - The name of the Key Vault Key.
     * @param continuationState - An object that indicates the position of the paginated request.
     * @param options - Common options for the iterative endpoints.
     */
@internal
@hidden
Deals with the pagination of  listPropertiesOfKeyVersions.
@param name - The name of the Key Vault Key.
@param continuationState - An object that indicates the position of the paginated request.
@param options - Common options for the iterative endpoints.
@internal @hidden Deals with the pagination of listPropertiesOfKeyVersions . @param name - The name of the Key Vault Key . @param continuationState - An object that indicates the position of the paginated request . @param options - Common options for the iterative endpoints .
listPropertiesOfKeyVersionsPage(name, continuationState, options) {
        return tslib.__asyncGenerator(this, arguments, function* listPropertiesOfKeyVersionsPage_1() {
            if (continuationState.continuationToken == null) {
                const optionsComplete = Object.assign({ maxresults: continuationState.maxPageSize }, options);
                const currentSetResponse = yield tslib.__await(withTrace$4("listPropertiesOfKeyVersionsPage", optionsComplete, async (updatedOptions) => this.client.getKeyVersions(this.vaultUrl, name, updatedOptions)));
                continuationState.continuationToken = currentSetResponse.nextLink;
                if (currentSetResponse.value) {
                    yield yield tslib.__await(currentSetResponse.value.map(getKeyPropertiesFromKeyItem, this));
                }
            }
            while (continuationState.continuationToken) {
                const currentSetResponse = yield tslib.__await(withTrace$4("listPropertiesOfKeyVersionsPage", options || {}, async (updatedOptions) => this.client.getKeyVersions(continuationState.continuationToken, name, updatedOptions)));
                continuationState.continuationToken = currentSetResponse.nextLink;
                if (currentSetResponse.value) {
                    yield yield tslib.__await(currentSetResponse.value.map(getKeyPropertiesFromKeyItem, this));
                }
                else {
                    break;
                }
            }
        });
    }
listPropertiesOfKeyVersionsPage ( name , continuationState , options ) { return tslib . __asyncGenerator ( this , arguments , function * listPropertiesOfKeyVersionsPage_1 ( ) { if ( continuationState . continuationToken == null ) { const optionsComplete = Object . assign ( { maxresults : continuationState . maxPageSize } , options ) ; const currentSetResponse = yield tslib . __await ( withTrace$4 ( "listPropertiesOfKeyVersionsPage" , optionsComplete , async ( updatedOptions ) => this . client . getKeyVersions ( this . vaultUrl , name , updatedOptions ) ) ) ; continuationState . continuationToken = currentSetResponse . nextLink ; if ( currentSetResponse . value ) { yield yield tslib . __await ( currentSetResponse . value . map ( getKeyPropertiesFromKeyItem , this ) ) ; } } while ( continuationState . continuationToken ) { const currentSetResponse = yield tslib . __await ( withTrace$4 ( "listPropertiesOfKeyVersionsPage" , options || { } , async ( updatedOptions ) => this . client . getKeyVersions ( continuationState . continuationToken , name , updatedOptions ) ) ) ; continuationState . continuationToken = currentSetResponse . nextLink ; if ( currentSetResponse . value ) { yield yield tslib . __await ( currentSetResponse . value . map ( getKeyPropertiesFromKeyItem , this ) ) ; } else { break ; } } } ) ; }
@internal
 @hidden
 Deals with the pagination of {@link listPropertiesOfKeyVersions}.
@internal @hidden Deals with the pagination of { @link listPropertiesOfKeyVersions } .