コード例 #1
0
 public static CdnCustomDomain GetCdnCustomDomain(this ArmClient client, ResourceIdentifier id)
 {
     return(client.GetResourceClient(() =>
     {
         CdnCustomDomain.ValidateResourceId(id);
         return new CdnCustomDomain(client, id);
     }
                                     ));
 }
コード例 #2
0
 public static CdnCustomDomain GetCdnCustomDomain(this ArmClient armClient, ResourceIdentifier id)
 {
     CdnCustomDomain.ValidateResourceId(id);
     return(new CdnCustomDomain(armClient, id));
 }
コード例 #3
0
 public static CdnCustomDomain GetCdnCustomDomain(this ArmClient armClient, ResourceIdentifier id)
 {
     CdnCustomDomain.ValidateResourceId(id);
     return(armClient.UseClientContext((uri, credential, clientOptions, pipeline) => new CdnCustomDomain(clientOptions, credential, uri, pipeline, id)));
 }