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