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