listPropertiesOfKeyVersions(name, options = {}) {
        const iter = this.listPropertiesOfKeyVersionsAll(name, options);
        return {
            next() {
                return iter.next();
            },
            [Symbol.asyncIterator]() {
                return this;
            },
            byPage: (settings = {}) => this.listPropertiesOfKeyVersionsPage(name, settings, options)
        };
    }
/**
     * Iterates all versions of the given key in the vault. The full key identifier, properties, and tags are provided
     * in the response. This operation requires the keys/list permission.
     *
     * Example usage:
     * ```ts
     * let client = new KeyClient(url, credentials);
     * for await (const keyProperties of client.listPropertiesOfKeyVersions("MyKey")) {
     *   const key = await client.getKey(keyProperties.name);
     *   console.log("key version: ", key);
     * }
     * ```
     * @param name - Name of the key to fetch versions for
     * @param options - The optional parameters.
     */
Iterates all versions of the given key in the vault. The full key identifier, properties, and tags are provided
in the response. This operation requires the keys/list permission.


Iterates all versions of the given key in the vault . The full key identifier properties and tags are provided in the response . This operation requires the keys / list permission .
listPropertiesOfKeyVersions(name, options = {}) {
        const iter = this.listPropertiesOfKeyVersionsAll(name, options);
        return {
            next() {
                return iter.next();
            },
            [Symbol.asyncIterator]() {
                return this;
            },
            byPage: (settings = {}) => this.listPropertiesOfKeyVersionsPage(name, settings, options)
        };
    }
listPropertiesOfKeyVersions ( name , options = { } ) { const iter = this . listPropertiesOfKeyVersionsAll ( name , options ) ; return { next ( ) { return iter . next ( ) ; } , [ Symbol . asyncIterator ] ( ) { return this ; } , byPage : ( settings = { } ) => this . listPropertiesOfKeyVersionsPage ( name , settings , options ) } ; }
Iterates all versions of the given key in the vault.
Iterates all versions of the given key in the vault .