diff --git a/internal/services/apimanagement/client/client.go b/internal/services/apimanagement/client/client.go index 8898bfd43dc97..0942e75e00411 100644 --- a/internal/services/apimanagement/client/client.go +++ b/internal/services/apimanagement/client/client.go @@ -105,77 +105,149 @@ type Client struct { } func NewClient(o *common.ClientOptions) (*Client, error) { - apiClient := api.NewApiClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiClient.Client, o.ResourceManagerAuthorizer) + apiClient, err := api.NewApiClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api client: %+v", err) + } + o.Configure(apiClient.Client, o.Authorizers.ResourceManager) - apiDiagnosticClient := apidiagnostic.NewApiDiagnosticClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiDiagnosticClient.Client, o.ResourceManagerAuthorizer) + apiDiagnosticClient, err := apidiagnostic.NewApiDiagnosticClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Diagnostic client: %+v", err) + } + o.Configure(apiDiagnosticClient.Client, o.Authorizers.ResourceManager) - apiPoliciesClient := apipolicy.NewApiPolicyClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiPoliciesClient.Client, o.ResourceManagerAuthorizer) + apiPoliciesClient, err := apipolicy.NewApiPolicyClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Policies client: %+v", err) + } + o.Configure(apiPoliciesClient.Client, o.Authorizers.ResourceManager) - apiOperationsClient := apioperation.NewApiOperationClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiOperationsClient.Client, o.ResourceManagerAuthorizer) + apiOperationsClient, err := apioperation.NewApiOperationClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Operations client: %+v", err) + } + o.Configure(apiOperationsClient.Client, o.Authorizers.ResourceManager) - apiOperationTagClient := apioperationtag.NewApiOperationTagClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiOperationTagClient.Client, o.ResourceManagerAuthorizer) + apiOperationTagClient, err := apioperationtag.NewApiOperationTagClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Operation Tag client: %+v", err) + } + o.Configure(apiOperationTagClient.Client, o.Authorizers.ResourceManager) - apiOperationPoliciesClient := apioperationpolicy.NewApiOperationPolicyClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiOperationPoliciesClient.Client, o.ResourceManagerAuthorizer) + apiOperationPoliciesClient, err := apioperationpolicy.NewApiOperationPolicyClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Operation Policies client: %+v", err) + } + o.Configure(apiOperationPoliciesClient.Client, o.Authorizers.ResourceManager) - apiReleasesClient := apirelease.NewApiReleaseClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiReleasesClient.Client, o.ResourceManagerAuthorizer) + apiReleasesClient, err := apirelease.NewApiReleaseClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Releases client: %+v", err) + } + o.Configure(apiReleasesClient.Client, o.Authorizers.ResourceManager) - apiSchemasClient := apischema.NewApiSchemaClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiSchemasClient.Client, o.ResourceManagerAuthorizer) + apiSchemasClient, err := apischema.NewApiSchemaClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Schemas client: %+v", err) + } + o.Configure(apiSchemasClient.Client, o.Authorizers.ResourceManager) - apiTagClient := apitag.NewApiTagClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiTagClient.Client, o.ResourceManagerAuthorizer) + apiTagClient, err := apitag.NewApiTagClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Tag client: %+v", err) + } + o.Configure(apiTagClient.Client, o.Authorizers.ResourceManager) - apiVersionSetClient := apiversionset.NewApiVersionSetClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiVersionSetClient.Client, o.ResourceManagerAuthorizer) + apiVersionSetClient, err := apiversionset.NewApiVersionSetClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Version Set client: %+v", err) + } + o.Configure(apiVersionSetClient.Client, o.Authorizers.ResourceManager) - apiVersionSetsClient := apiversionsets.NewApiVersionSetsClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiVersionSetsClient.Client, o.ResourceManagerAuthorizer) + apiVersionSetsClient, err := apiversionsets.NewApiVersionSetsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Version Sets client: %+v", err) + } + o.Configure(apiVersionSetsClient.Client, o.Authorizers.ResourceManager) - apiTagDescriptionClient := apitagdescription.NewApiTagDescriptionClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&apiTagDescriptionClient.Client, o.ResourceManagerAuthorizer) + apiTagDescriptionClient, err := apitagdescription.NewApiTagDescriptionClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Api Tag Description client: %+v", err) + } + o.Configure(apiTagDescriptionClient.Client, o.Authorizers.ResourceManager) - authorizationServersClient := authorizationserver.NewAuthorizationServerClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&authorizationServersClient.Client, o.ResourceManagerAuthorizer) + authorizationServersClient, err := authorizationserver.NewAuthorizationServerClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Authorization Servers client: %+v", err) + } + o.Configure(authorizationServersClient.Client, o.Authorizers.ResourceManager) - backendClient := backend.NewBackendClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&backendClient.Client, o.ResourceManagerAuthorizer) + backendClient, err := backend.NewBackendClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building backend client: %+v", err) + } + o.Configure(backendClient.Client, o.Authorizers.ResourceManager) - cacheClient := cache.NewCacheClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&cacheClient.Client, o.ResourceManagerAuthorizer) + cacheClient, err := cache.NewCacheClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building cache client: %+v", err) + } + o.Configure(cacheClient.Client, o.Authorizers.ResourceManager) - certificatesClient := certificate.NewCertificateClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&certificatesClient.Client, o.ResourceManagerAuthorizer) + certificatesClient, err := certificate.NewCertificateClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building certificates client: %+v", err) + } + o.Configure(certificatesClient.Client, o.Authorizers.ResourceManager) - diagnosticClient := diagnostic.NewDiagnosticClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&diagnosticClient.Client, o.ResourceManagerAuthorizer) + diagnosticClient, err := diagnostic.NewDiagnosticClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building diagnostic client: %+v", err) + } + o.Configure(diagnosticClient.Client, o.Authorizers.ResourceManager) - delegationSettingsClient := delegationsettings.NewDelegationSettingsClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&delegationSettingsClient.Client, o.ResourceManagerAuthorizer) + delegationSettingsClient, err := delegationsettings.NewDelegationSettingsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Delegation Settings client: %+v", err) + } + o.Configure(delegationSettingsClient.Client, o.Authorizers.ResourceManager) - deletedServicesClient := deletedservice.NewDeletedServiceClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&deletedServicesClient.Client, o.ResourceManagerAuthorizer) + deletedServicesClient, err := deletedservice.NewDeletedServiceClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Deleted Services client: %+v", err) + } + o.Configure(deletedServicesClient.Client, o.Authorizers.ResourceManager) - emailTemplatesClient := emailtemplates.NewEmailTemplatesClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&emailTemplatesClient.Client, o.ResourceManagerAuthorizer) + emailTemplatesClient, err := emailtemplates.NewEmailTemplatesClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Email Templates client: %+v", err) + } + o.Configure(emailTemplatesClient.Client, o.Authorizers.ResourceManager) - gatewayClient := gateway.NewGatewayClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&gatewayClient.Client, o.ResourceManagerAuthorizer) + gatewayClient, err := gateway.NewGatewayClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Gateway client: %+v", err) + } + o.Configure(gatewayClient.Client, o.Authorizers.ResourceManager) - gatewayCertificateAuthorityClient := gatewaycertificateauthority.NewGatewayCertificateAuthorityClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&gatewayCertificateAuthorityClient.Client, o.ResourceManagerAuthorizer) + gatewayCertificateAuthorityClient, err := gatewaycertificateauthority.NewGatewayCertificateAuthorityClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Gateway Certificate Authority client: %+v", err) + } + o.Configure(gatewayCertificateAuthorityClient.Client, o.Authorizers.ResourceManager) - gatewayApisClient := gatewayapi.NewGatewayApiClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&gatewayApisClient.Client, o.ResourceManagerAuthorizer) + gatewayApisClient, err := gatewayapi.NewGatewayApiClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Gateway Apis client: %+v", err) + } + o.Configure(gatewayApisClient.Client, o.Authorizers.ResourceManager) - gatewayHostnameConfigurationClient := gatewayhostnameconfiguration.NewGatewayHostnameConfigurationClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&gatewayHostnameConfigurationClient.Client, o.ResourceManagerAuthorizer) + gatewayHostnameConfigurationClient, err := gatewayhostnameconfiguration.NewGatewayHostnameConfigurationClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Gateway Hostname Configuration client: %+v", err) + } + o.Configure(gatewayHostnameConfigurationClient.Client, o.Authorizers.ResourceManager) globalSchemaClient, err := schema.NewSchemaClientWithBaseURI(o.Environment.ResourceManager) if err != nil { @@ -183,115 +255,178 @@ func NewClient(o *common.ClientOptions) (*Client, error) { } o.Configure(globalSchemaClient.Client, o.Authorizers.ResourceManager) - groupClient := group.NewGroupClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&groupClient.Client, o.ResourceManagerAuthorizer) + groupClient, err := group.NewGroupClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Group client: %+v", err) + } + o.Configure(groupClient.Client, o.Authorizers.ResourceManager) - groupUsersClient := groupuser.NewGroupUserClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&groupUsersClient.Client, o.ResourceManagerAuthorizer) + groupUsersClient, err := groupuser.NewGroupUserClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Group Users client: %+v", err) + } + o.Configure(groupUsersClient.Client, o.Authorizers.ResourceManager) - identityProviderClient := identityprovider.NewIdentityProviderClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&identityProviderClient.Client, o.ResourceManagerAuthorizer) + identityProviderClient, err := identityprovider.NewIdentityProviderClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Identity Provider client: %+v", err) + } + o.Configure(identityProviderClient.Client, o.Authorizers.ResourceManager) - namedValueClient := namedvalue.NewNamedValueClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&namedValueClient.Client, o.ResourceManagerAuthorizer) + namedValueClient, err := namedvalue.NewNamedValueClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Named Value client: %+v", err) + } + o.Configure(namedValueClient.Client, o.Authorizers.ResourceManager) - notificationRecipientEmailClient := notificationrecipientemail.NewNotificationRecipientEmailClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(¬ificationRecipientEmailClient.Client, o.ResourceManagerAuthorizer) + notificationRecipientEmailClient, err := notificationrecipientemail.NewNotificationRecipientEmailClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Notification Recipient Email client: %+v", err) + } + o.Configure(notificationRecipientEmailClient.Client, o.Authorizers.ResourceManager) - notificationRecipientUserClient := notificationrecipientuser.NewNotificationRecipientUserClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(¬ificationRecipientUserClient.Client, o.ResourceManagerAuthorizer) + notificationRecipientUserClient, err := notificationrecipientuser.NewNotificationRecipientUserClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Notification Recipient User client: %+v", err) + } + o.Configure(notificationRecipientUserClient.Client, o.Authorizers.ResourceManager) - loggerClient := logger.NewLoggerClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&loggerClient.Client, o.ResourceManagerAuthorizer) + loggerClient, err := logger.NewLoggerClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Logger client: %+v", err) + } + o.Configure(loggerClient.Client, o.Authorizers.ResourceManager) - openIdConnectClient := openidconnectprovider.NewOpenidConnectProviderClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&openIdConnectClient.Client, o.ResourceManagerAuthorizer) + openIdConnectClient, err := openidconnectprovider.NewOpenidConnectProviderClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building OpenId Connect client: %+v", err) + } + o.Configure(openIdConnectClient.Client, o.Authorizers.ResourceManager) - policyClient := policy.NewPolicyClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&policyClient.Client, o.ResourceManagerAuthorizer) + policyClient, err := policy.NewPolicyClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Policy client: %+v", err) + } + o.Configure(policyClient.Client, o.Authorizers.ResourceManager) - productsClient := product.NewProductClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&productsClient.Client, o.ResourceManagerAuthorizer) + productsClient, err := product.NewProductClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Products client: %+v", err) + } + o.Configure(productsClient.Client, o.Authorizers.ResourceManager) - productTagClient := producttag.NewProductTagClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&productTagClient.Client, o.ResourceManagerAuthorizer) + productTagClient, err := producttag.NewProductTagClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Product Tag client: %+v", err) + } + o.Configure(productTagClient.Client, o.Authorizers.ResourceManager) - productApisClient := productapi.NewProductApiClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&productApisClient.Client, o.ResourceManagerAuthorizer) + productApisClient, err := productapi.NewProductApiClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Product Apis client: %+v", err) + } + o.Configure(productApisClient.Client, o.Authorizers.ResourceManager) - productGroupsClient := productgroup.NewProductGroupClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&productGroupsClient.Client, o.ResourceManagerAuthorizer) + productGroupsClient, err := productgroup.NewProductGroupClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Product Groups client: %+v", err) + } + o.Configure(productGroupsClient.Client, o.Authorizers.ResourceManager) - productPoliciesClient := productpolicy.NewProductPolicyClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&productPoliciesClient.Client, o.ResourceManagerAuthorizer) + productPoliciesClient, err := productpolicy.NewProductPolicyClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Product Policies client: %+v", err) + } + o.Configure(productPoliciesClient.Client, o.Authorizers.ResourceManager) - serviceClient := apimanagementservice.NewApiManagementServiceClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&serviceClient.Client, o.ResourceManagerAuthorizer) + serviceClient, err := apimanagementservice.NewApiManagementServiceClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Service client: %+v", err) + } + o.Configure(serviceClient.Client, o.Authorizers.ResourceManager) - signInClient := signinsettings.NewSignInSettingsClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&signInClient.Client, o.ResourceManagerAuthorizer) + signInClient, err := signinsettings.NewSignInSettingsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building SignIn client: %+v", err) + } + o.Configure(signInClient.Client, o.Authorizers.ResourceManager) - signUpClient := signupsettings.NewSignUpSettingsClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&signUpClient.Client, o.ResourceManagerAuthorizer) + signUpClient, err := signupsettings.NewSignUpSettingsClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building SignUp client: %+v", err) + } + o.Configure(signUpClient.Client, o.Authorizers.ResourceManager) - subscriptionsClient := subscription.NewSubscriptionClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&subscriptionsClient.Client, o.ResourceManagerAuthorizer) + subscriptionsClient, err := subscription.NewSubscriptionClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Subscriptions client: %+v", err) + } + o.Configure(subscriptionsClient.Client, o.Authorizers.ResourceManager) - tagClient := tag.NewTagClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&tagClient.Client, o.ResourceManagerAuthorizer) + tagClient, err := tag.NewTagClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building tag client: %+v", err) + } + o.Configure(tagClient.Client, o.Authorizers.ResourceManager) - tenantAccessClient := tenantaccess.NewTenantAccessClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&tenantAccessClient.Client, o.ResourceManagerAuthorizer) + tenantAccessClient, err := tenantaccess.NewTenantAccessClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building Tenant Access client: %+v", err) + } + o.Configure(tenantAccessClient.Client, o.Authorizers.ResourceManager) - usersClient := user.NewUserClientWithBaseURI(o.ResourceManagerEndpoint) - o.ConfigureClient(&usersClient.Client, o.ResourceManagerAuthorizer) + usersClient, err := user.NewUserClientWithBaseURI(o.Environment.ResourceManager) + if err != nil { + return nil, fmt.Errorf("building users client: %+v", err) + } + o.Configure(usersClient.Client, o.Authorizers.ResourceManager) return &Client{ - ApiClient: &apiClient, - ApiDiagnosticClient: &apiDiagnosticClient, - ApiOperationPoliciesClient: &apiOperationPoliciesClient, - ApiOperationsClient: &apiOperationsClient, - ApiOperationTagClient: &apiOperationTagClient, - ApiPoliciesClient: &apiPoliciesClient, - ApiReleasesClient: &apiReleasesClient, - ApiSchemasClient: &apiSchemasClient, - ApiTagClient: &apiTagClient, - ApiTagDescriptionClient: &apiTagDescriptionClient, - ApiVersionSetClient: &apiVersionSetClient, - ApiVersionSetsClient: &apiVersionSetsClient, - AuthorizationServersClient: &authorizationServersClient, - BackendClient: &backendClient, - CacheClient: &cacheClient, - CertificatesClient: &certificatesClient, - DelegationSettingsClient: &delegationSettingsClient, - DeletedServicesClient: &deletedServicesClient, - DiagnosticClient: &diagnosticClient, - EmailTemplatesClient: &emailTemplatesClient, - GatewayApisClient: &gatewayApisClient, - GatewayCertificateAuthorityClient: &gatewayCertificateAuthorityClient, - GatewayClient: &gatewayClient, - GatewayHostNameConfigurationClient: &gatewayHostnameConfigurationClient, + ApiClient: apiClient, + ApiDiagnosticClient: apiDiagnosticClient, + ApiOperationPoliciesClient: apiOperationPoliciesClient, + ApiOperationsClient: apiOperationsClient, + ApiOperationTagClient: apiOperationTagClient, + ApiPoliciesClient: apiPoliciesClient, + ApiReleasesClient: apiReleasesClient, + ApiSchemasClient: apiSchemasClient, + ApiTagClient: apiTagClient, + ApiTagDescriptionClient: apiTagDescriptionClient, + ApiVersionSetClient: apiVersionSetClient, + ApiVersionSetsClient: apiVersionSetsClient, + AuthorizationServersClient: authorizationServersClient, + BackendClient: backendClient, + CacheClient: cacheClient, + CertificatesClient: certificatesClient, + DelegationSettingsClient: delegationSettingsClient, + DeletedServicesClient: deletedServicesClient, + DiagnosticClient: diagnosticClient, + EmailTemplatesClient: emailTemplatesClient, + GatewayApisClient: gatewayApisClient, + GatewayCertificateAuthorityClient: gatewayCertificateAuthorityClient, + GatewayClient: gatewayClient, + GatewayHostNameConfigurationClient: gatewayHostnameConfigurationClient, GlobalSchemaClient: globalSchemaClient, - GroupClient: &groupClient, - GroupUsersClient: &groupUsersClient, - IdentityProviderClient: &identityProviderClient, - LoggerClient: &loggerClient, - NamedValueClient: &namedValueClient, - NotificationRecipientEmailClient: ¬ificationRecipientEmailClient, - NotificationRecipientUserClient: ¬ificationRecipientUserClient, - OpenIdConnectClient: &openIdConnectClient, - PolicyClient: &policyClient, - ProductApisClient: &productApisClient, - ProductGroupsClient: &productGroupsClient, - ProductPoliciesClient: &productPoliciesClient, - ProductsClient: &productsClient, - ProductTagClient: &productTagClient, - ServiceClient: &serviceClient, - SignInClient: &signInClient, - SignUpClient: &signUpClient, - SubscriptionsClient: &subscriptionsClient, - TagClient: &tagClient, - TenantAccessClient: &tenantAccessClient, - UsersClient: &usersClient, + GroupClient: groupClient, + GroupUsersClient: groupUsersClient, + IdentityProviderClient: identityProviderClient, + LoggerClient: loggerClient, + NamedValueClient: namedValueClient, + NotificationRecipientEmailClient: notificationRecipientEmailClient, + NotificationRecipientUserClient: notificationRecipientUserClient, + OpenIdConnectClient: openIdConnectClient, + PolicyClient: policyClient, + ProductApisClient: productApisClient, + ProductGroupsClient: productGroupsClient, + ProductPoliciesClient: productPoliciesClient, + ProductsClient: productsClient, + ProductTagClient: productTagClient, + ServiceClient: serviceClient, + SignInClient: signInClient, + SignUpClient: signUpClient, + SubscriptionsClient: subscriptionsClient, + TagClient: tagClient, + TenantAccessClient: tenantAccessClient, + UsersClient: usersClient, }, nil }