示例#1
0
 public static SshPublicKey GetSshPublicKey(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetClient(() =>
     {
         SshPublicKey.ValidateResourceId(id);
         return new SshPublicKey(client, id);
     }
                             ));
 }
示例#2
0
 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)));
 }
 public static SshPublicKey GetSshPublicKey(this ArmClient armClient, ResourceIdentifier id)
 {
     SshPublicKey.ValidateResourceId(id);
     return(new SshPublicKey(armClient, id));
 }