public static SshPublicKey GetSshPublicKey(this ArmClient armClient, ResourceIdentifier id) { SshPublicKey.ValidateResourceId(id); return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new SshPublicKey(clientOptions, credential, uri, pipeline, id))); }