public static CdnOriginGroup GetCdnOriginGroup(this ArmClient client, ResourceIdentifier id) { return(client.GetResourceClient(() => { CdnOriginGroup.ValidateResourceId(id); return new CdnOriginGroup(client, id); } )); }
public static CdnOriginGroup GetCdnOriginGroup(this ArmClient armClient, ResourceIdentifier id) { CdnOriginGroup.ValidateResourceId(id); return(new CdnOriginGroup(armClient, id)); }
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))); }