StaticSiteCustomDomainOverviewARMResource IOperationSource <StaticSiteCustomDomainOverviewARMResource> .CreateResult(Response response, CancellationToken cancellationToken) { using var document = JsonDocument.Parse(response.ContentStream); var data = StaticSiteCustomDomainOverviewARMResourceData.DeserializeStaticSiteCustomDomainOverviewARMResourceData(document.RootElement); return(new StaticSiteCustomDomainOverviewARMResource(_client, data)); }
internal StaticSiteCustomDomainOverviewARMResource(ArmResource options, StaticSiteCustomDomainOverviewARMResourceData resource) : base(options, resource.Id) { HasData = true; _data = resource; _clientDiagnostics = new ClientDiagnostics(ClientOptions); _staticSitesRestClient = new StaticSitesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri); }
internal StaticSiteCustomDomainOverviewARMResource(ArmClient client, StaticSiteCustomDomainOverviewARMResourceData data) : this(client, data.Id) { HasData = true; _data = data; }