_getName(base) {
        var name = '{base}-{adj}-{noun}';
        name = name.replace('{base}', base);
        name = name.replace('{adj}', this._getRandNamePart(adjectives));
        name = name.replace('{noun}', this._getRandNamePart(nouns));

        // Add random number as suffix
        if (name.length < 22) {
            name += '-';
            for (var i = 0; i < Math.min(5, 23 - name.length); i++) {
                name += rand(0, 10);
            }
        }

        return name;
    }
/**
     * Creates a random name for a KeyVault vault, key, secret, etc.
     * @param {string} base     A string used as the first part of the name.
     */
Creates a random name for a KeyVault vault, key, secret, etc.
@param {string} base     A string used as the first part of the name.
Creates a random name for a KeyVault vault key secret etc . @param { string } base A string used as the first part of the name .
_getName(base) {
        var name = '{base}-{adj}-{noun}';
        name = name.replace('{base}', base);
        name = name.replace('{adj}', this._getRandNamePart(adjectives));
        name = name.replace('{noun}', this._getRandNamePart(nouns));
        if (name.length < 22) {
            name += '-';
            for (var i = 0; i < Math.min(5, 23 - name.length); i++) {
                name += rand(0, 10);
            }
        }
        return name;
    }
_getName ( base ) { var name = '{base}-{adj}-{noun}' ; name = name . replace ( '{base}' , base ) ; name = name . replace ( '{adj}' , this . _getRandNamePart ( adjectives ) ) ; name = name . replace ( '{noun}' , this . _getRandNamePart ( nouns ) ) ; if ( name . length < 22 ) { name += '-' ; for ( var i = 0 ; i < Math . min ( 5 , 23 - name . length ) ; i ++ ) { name += rand ( 0 , 10 ) ; } } return name ; }
Creates a random name for a KeyVault vault, key, secret, etc.
Creates a random name for a KeyVault vault key secret etc .
// Add random number as suffix