public async Task <Response <SecurityPartnerProviderData> > GetAsync(string subscriptionId, string resourceGroupName, string securityPartnerProviderName, CancellationToken cancellationToken = default)
        {
            if (subscriptionId == null)
            {
                throw new ArgumentNullException(nameof(subscriptionId));
            }
            if (resourceGroupName == null)
            {
                throw new ArgumentNullException(nameof(resourceGroupName));
            }
            if (securityPartnerProviderName == null)
            {
                throw new ArgumentNullException(nameof(securityPartnerProviderName));
            }

            using var message = CreateGetRequest(subscriptionId, resourceGroupName, securityPartnerProviderName);
            await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false);

            switch (message.Response.Status)
            {
            case 200:
            {
                SecurityPartnerProviderData value = default;
                using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false);

                value = SecurityPartnerProviderData.DeserializeSecurityPartnerProviderData(document.RootElement);
                return(Response.FromValue(value, message.Response));
            }
        SecurityPartnerProvider IOperationSource <SecurityPartnerProvider> .CreateResult(Response response, CancellationToken cancellationToken)
        {
            using var document = JsonDocument.Parse(response.ContentStream);
            var data = SecurityPartnerProviderData.DeserializeSecurityPartnerProviderData(document.RootElement);

            return(new SecurityPartnerProvider(_client, data));
        }