public static class ServiceCollectionExtensions
Static class to provide extension methods to configure API clients.
Namespace
Microsoft.Extensions.DependencyInjectionAssembly
Google.Cloud.Compute.V1.dll
Methods
AddAcceleratorTypesClient(IServiceCollection, Action<AcceleratorTypesClientBuilder>)
public static IServiceCollection AddAcceleratorTypesClient(this IServiceCollection services, Action<AcceleratorTypesClientBuilder> action = null)
Adds a singleton AcceleratorTypesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<AcceleratorTypesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddAddressesClient(IServiceCollection, Action<AddressesClientBuilder>)
public static IServiceCollection AddAddressesClient(this IServiceCollection services, Action<AddressesClientBuilder> action = null)
Adds a singleton AddressesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<AddressesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddAutoscalersClient(IServiceCollection, Action<AutoscalersClientBuilder>)
public static IServiceCollection AddAutoscalersClient(this IServiceCollection services, Action<AutoscalersClientBuilder> action = null)
Adds a singleton AutoscalersClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<AutoscalersClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddBackendBucketsClient(IServiceCollection, Action<BackendBucketsClientBuilder>)
public static IServiceCollection AddBackendBucketsClient(this IServiceCollection services, Action<BackendBucketsClientBuilder> action = null)
Adds a singleton BackendBucketsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<BackendBucketsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddBackendServicesClient(IServiceCollection, Action<BackendServicesClientBuilder>)
public static IServiceCollection AddBackendServicesClient(this IServiceCollection services, Action<BackendServicesClientBuilder> action = null)
Adds a singleton BackendServicesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<BackendServicesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddDisksClient(IServiceCollection, Action<DisksClientBuilder>)
public static IServiceCollection AddDisksClient(this IServiceCollection services, Action<DisksClientBuilder> action = null)
Adds a singleton DisksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<DisksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddDiskTypesClient(IServiceCollection, Action<DiskTypesClientBuilder>)
public static IServiceCollection AddDiskTypesClient(this IServiceCollection services, Action<DiskTypesClientBuilder> action = null)
Adds a singleton DiskTypesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<DiskTypesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddExternalVpnGatewaysClient(IServiceCollection, Action<ExternalVpnGatewaysClientBuilder>)
public static IServiceCollection AddExternalVpnGatewaysClient(this IServiceCollection services, Action<ExternalVpnGatewaysClientBuilder> action = null)
Adds a singleton ExternalVpnGatewaysClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ExternalVpnGatewaysClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddFirewallPoliciesClient(IServiceCollection, Action<FirewallPoliciesClientBuilder>)
public static IServiceCollection AddFirewallPoliciesClient(this IServiceCollection services, Action<FirewallPoliciesClientBuilder> action = null)
Adds a singleton FirewallPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<FirewallPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddFirewallsClient(IServiceCollection, Action<FirewallsClientBuilder>)
public static IServiceCollection AddFirewallsClient(this IServiceCollection services, Action<FirewallsClientBuilder> action = null)
Adds a singleton FirewallsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<FirewallsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddForwardingRulesClient(IServiceCollection, Action<ForwardingRulesClientBuilder>)
public static IServiceCollection AddForwardingRulesClient(this IServiceCollection services, Action<ForwardingRulesClientBuilder> action = null)
Adds a singleton ForwardingRulesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ForwardingRulesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalAddressesClient(IServiceCollection, Action<GlobalAddressesClientBuilder>)
public static IServiceCollection AddGlobalAddressesClient(this IServiceCollection services, Action<GlobalAddressesClientBuilder> action = null)
Adds a singleton GlobalAddressesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalAddressesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalForwardingRulesClient(IServiceCollection, Action<GlobalForwardingRulesClientBuilder>)
public static IServiceCollection AddGlobalForwardingRulesClient(this IServiceCollection services, Action<GlobalForwardingRulesClientBuilder> action = null)
Adds a singleton GlobalForwardingRulesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalForwardingRulesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalNetworkEndpointGroupsClient(IServiceCollection, Action<GlobalNetworkEndpointGroupsClientBuilder>)
public static IServiceCollection AddGlobalNetworkEndpointGroupsClient(this IServiceCollection services, Action<GlobalNetworkEndpointGroupsClientBuilder> action = null)
Adds a singleton GlobalNetworkEndpointGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalNetworkEndpointGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalOperationsClient(IServiceCollection, Action<GlobalOperationsClientBuilder>)
public static IServiceCollection AddGlobalOperationsClient(this IServiceCollection services, Action<GlobalOperationsClientBuilder> action = null)
Adds a singleton GlobalOperationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalOperationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalOrganizationOperationsClient(IServiceCollection, Action<GlobalOrganizationOperationsClientBuilder>)
public static IServiceCollection AddGlobalOrganizationOperationsClient(this IServiceCollection services, Action<GlobalOrganizationOperationsClientBuilder> action = null)
Adds a singleton GlobalOrganizationOperationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalOrganizationOperationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddGlobalPublicDelegatedPrefixesClient(IServiceCollection, Action<GlobalPublicDelegatedPrefixesClientBuilder>)
public static IServiceCollection AddGlobalPublicDelegatedPrefixesClient(this IServiceCollection services, Action<GlobalPublicDelegatedPrefixesClientBuilder> action = null)
Adds a singleton GlobalPublicDelegatedPrefixesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<GlobalPublicDelegatedPrefixesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddHealthChecksClient(IServiceCollection, Action<HealthChecksClientBuilder>)
public static IServiceCollection AddHealthChecksClient(this IServiceCollection services, Action<HealthChecksClientBuilder> action = null)
Adds a singleton HealthChecksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<HealthChecksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddImageFamilyViewsClient(IServiceCollection, Action<ImageFamilyViewsClientBuilder>)
public static IServiceCollection AddImageFamilyViewsClient(this IServiceCollection services, Action<ImageFamilyViewsClientBuilder> action = null)
Adds a singleton ImageFamilyViewsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ImageFamilyViewsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddImagesClient(IServiceCollection, Action<ImagesClientBuilder>)
public static IServiceCollection AddImagesClient(this IServiceCollection services, Action<ImagesClientBuilder> action = null)
Adds a singleton ImagesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ImagesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInstanceGroupManagersClient(IServiceCollection, Action<InstanceGroupManagersClientBuilder>)
public static IServiceCollection AddInstanceGroupManagersClient(this IServiceCollection services, Action<InstanceGroupManagersClientBuilder> action = null)
Adds a singleton InstanceGroupManagersClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InstanceGroupManagersClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInstanceGroupsClient(IServiceCollection, Action<InstanceGroupsClientBuilder>)
public static IServiceCollection AddInstanceGroupsClient(this IServiceCollection services, Action<InstanceGroupsClientBuilder> action = null)
Adds a singleton InstanceGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InstanceGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInstancesClient(IServiceCollection, Action<InstancesClientBuilder>)
public static IServiceCollection AddInstancesClient(this IServiceCollection services, Action<InstancesClientBuilder> action = null)
Adds a singleton InstancesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InstancesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInstanceTemplatesClient(IServiceCollection, Action<InstanceTemplatesClientBuilder>)
public static IServiceCollection AddInstanceTemplatesClient(this IServiceCollection services, Action<InstanceTemplatesClientBuilder> action = null)
Adds a singleton InstanceTemplatesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InstanceTemplatesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInterconnectAttachmentsClient(IServiceCollection, Action<InterconnectAttachmentsClientBuilder>)
public static IServiceCollection AddInterconnectAttachmentsClient(this IServiceCollection services, Action<InterconnectAttachmentsClientBuilder> action = null)
Adds a singleton InterconnectAttachmentsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InterconnectAttachmentsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInterconnectLocationsClient(IServiceCollection, Action<InterconnectLocationsClientBuilder>)
public static IServiceCollection AddInterconnectLocationsClient(this IServiceCollection services, Action<InterconnectLocationsClientBuilder> action = null)
Adds a singleton InterconnectLocationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InterconnectLocationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddInterconnectsClient(IServiceCollection, Action<InterconnectsClientBuilder>)
public static IServiceCollection AddInterconnectsClient(this IServiceCollection services, Action<InterconnectsClientBuilder> action = null)
Adds a singleton InterconnectsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<InterconnectsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddLicenseCodesClient(IServiceCollection, Action<LicenseCodesClientBuilder>)
public static IServiceCollection AddLicenseCodesClient(this IServiceCollection services, Action<LicenseCodesClientBuilder> action = null)
Adds a singleton LicenseCodesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<LicenseCodesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddLicensesClient(IServiceCollection, Action<LicensesClientBuilder>)
public static IServiceCollection AddLicensesClient(this IServiceCollection services, Action<LicensesClientBuilder> action = null)
Adds a singleton LicensesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<LicensesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMachineImagesClient(IServiceCollection, Action<MachineImagesClientBuilder>)
public static IServiceCollection AddMachineImagesClient(this IServiceCollection services, Action<MachineImagesClientBuilder> action = null)
Adds a singleton MachineImagesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<MachineImagesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddMachineTypesClient(IServiceCollection, Action<MachineTypesClientBuilder>)
public static IServiceCollection AddMachineTypesClient(this IServiceCollection services, Action<MachineTypesClientBuilder> action = null)
Adds a singleton MachineTypesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<MachineTypesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNetworkEdgeSecurityServicesClient(IServiceCollection, Action<NetworkEdgeSecurityServicesClientBuilder>)
public static IServiceCollection AddNetworkEdgeSecurityServicesClient(this IServiceCollection services, Action<NetworkEdgeSecurityServicesClientBuilder> action = null)
Adds a singleton NetworkEdgeSecurityServicesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NetworkEdgeSecurityServicesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNetworkEndpointGroupsClient(IServiceCollection, Action<NetworkEndpointGroupsClientBuilder>)
public static IServiceCollection AddNetworkEndpointGroupsClient(this IServiceCollection services, Action<NetworkEndpointGroupsClientBuilder> action = null)
Adds a singleton NetworkEndpointGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NetworkEndpointGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNetworkFirewallPoliciesClient(IServiceCollection, Action<NetworkFirewallPoliciesClientBuilder>)
public static IServiceCollection AddNetworkFirewallPoliciesClient(this IServiceCollection services, Action<NetworkFirewallPoliciesClientBuilder> action = null)
Adds a singleton NetworkFirewallPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NetworkFirewallPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNetworksClient(IServiceCollection, Action<NetworksClientBuilder>)
public static IServiceCollection AddNetworksClient(this IServiceCollection services, Action<NetworksClientBuilder> action = null)
Adds a singleton NetworksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NetworksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNodeGroupsClient(IServiceCollection, Action<NodeGroupsClientBuilder>)
public static IServiceCollection AddNodeGroupsClient(this IServiceCollection services, Action<NodeGroupsClientBuilder> action = null)
Adds a singleton NodeGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NodeGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNodeTemplatesClient(IServiceCollection, Action<NodeTemplatesClientBuilder>)
public static IServiceCollection AddNodeTemplatesClient(this IServiceCollection services, Action<NodeTemplatesClientBuilder> action = null)
Adds a singleton NodeTemplatesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NodeTemplatesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddNodeTypesClient(IServiceCollection, Action<NodeTypesClientBuilder>)
public static IServiceCollection AddNodeTypesClient(this IServiceCollection services, Action<NodeTypesClientBuilder> action = null)
Adds a singleton NodeTypesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<NodeTypesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddPacketMirroringsClient(IServiceCollection, Action<PacketMirroringsClientBuilder>)
public static IServiceCollection AddPacketMirroringsClient(this IServiceCollection services, Action<PacketMirroringsClientBuilder> action = null)
Adds a singleton PacketMirroringsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<PacketMirroringsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddProjectsClient(IServiceCollection, Action<ProjectsClientBuilder>)
public static IServiceCollection AddProjectsClient(this IServiceCollection services, Action<ProjectsClientBuilder> action = null)
Adds a singleton ProjectsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ProjectsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddPublicAdvertisedPrefixesClient(IServiceCollection, Action<PublicAdvertisedPrefixesClientBuilder>)
public static IServiceCollection AddPublicAdvertisedPrefixesClient(this IServiceCollection services, Action<PublicAdvertisedPrefixesClientBuilder> action = null)
Adds a singleton PublicAdvertisedPrefixesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<PublicAdvertisedPrefixesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddPublicDelegatedPrefixesClient(IServiceCollection, Action<PublicDelegatedPrefixesClientBuilder>)
public static IServiceCollection AddPublicDelegatedPrefixesClient(this IServiceCollection services, Action<PublicDelegatedPrefixesClientBuilder> action = null)
Adds a singleton PublicDelegatedPrefixesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<PublicDelegatedPrefixesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionAutoscalersClient(IServiceCollection, Action<RegionAutoscalersClientBuilder>)
public static IServiceCollection AddRegionAutoscalersClient(this IServiceCollection services, Action<RegionAutoscalersClientBuilder> action = null)
Adds a singleton RegionAutoscalersClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionAutoscalersClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionBackendServicesClient(IServiceCollection, Action<RegionBackendServicesClientBuilder>)
public static IServiceCollection AddRegionBackendServicesClient(this IServiceCollection services, Action<RegionBackendServicesClientBuilder> action = null)
Adds a singleton RegionBackendServicesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionBackendServicesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionCommitmentsClient(IServiceCollection, Action<RegionCommitmentsClientBuilder>)
public static IServiceCollection AddRegionCommitmentsClient(this IServiceCollection services, Action<RegionCommitmentsClientBuilder> action = null)
Adds a singleton RegionCommitmentsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionCommitmentsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionDisksClient(IServiceCollection, Action<RegionDisksClientBuilder>)
public static IServiceCollection AddRegionDisksClient(this IServiceCollection services, Action<RegionDisksClientBuilder> action = null)
Adds a singleton RegionDisksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionDisksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionDiskTypesClient(IServiceCollection, Action<RegionDiskTypesClientBuilder>)
public static IServiceCollection AddRegionDiskTypesClient(this IServiceCollection services, Action<RegionDiskTypesClientBuilder> action = null)
Adds a singleton RegionDiskTypesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionDiskTypesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionHealthChecksClient(IServiceCollection, Action<RegionHealthChecksClientBuilder>)
public static IServiceCollection AddRegionHealthChecksClient(this IServiceCollection services, Action<RegionHealthChecksClientBuilder> action = null)
Adds a singleton RegionHealthChecksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionHealthChecksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionHealthCheckServicesClient(IServiceCollection, Action<RegionHealthCheckServicesClientBuilder>)
public static IServiceCollection AddRegionHealthCheckServicesClient(this IServiceCollection services, Action<RegionHealthCheckServicesClientBuilder> action = null)
Adds a singleton RegionHealthCheckServicesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionHealthCheckServicesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionInstanceGroupManagersClient(IServiceCollection, Action<RegionInstanceGroupManagersClientBuilder>)
public static IServiceCollection AddRegionInstanceGroupManagersClient(this IServiceCollection services, Action<RegionInstanceGroupManagersClientBuilder> action = null)
Adds a singleton RegionInstanceGroupManagersClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionInstanceGroupManagersClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionInstanceGroupsClient(IServiceCollection, Action<RegionInstanceGroupsClientBuilder>)
public static IServiceCollection AddRegionInstanceGroupsClient(this IServiceCollection services, Action<RegionInstanceGroupsClientBuilder> action = null)
Adds a singleton RegionInstanceGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionInstanceGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionInstancesClient(IServiceCollection, Action<RegionInstancesClientBuilder>)
public static IServiceCollection AddRegionInstancesClient(this IServiceCollection services, Action<RegionInstancesClientBuilder> action = null)
Adds a singleton RegionInstancesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionInstancesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionNetworkEndpointGroupsClient(IServiceCollection, Action<RegionNetworkEndpointGroupsClientBuilder>)
public static IServiceCollection AddRegionNetworkEndpointGroupsClient(this IServiceCollection services, Action<RegionNetworkEndpointGroupsClientBuilder> action = null)
Adds a singleton RegionNetworkEndpointGroupsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionNetworkEndpointGroupsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionNetworkFirewallPoliciesClient(IServiceCollection, Action<RegionNetworkFirewallPoliciesClientBuilder>)
public static IServiceCollection AddRegionNetworkFirewallPoliciesClient(this IServiceCollection services, Action<RegionNetworkFirewallPoliciesClientBuilder> action = null)
Adds a singleton RegionNetworkFirewallPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionNetworkFirewallPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionNotificationEndpointsClient(IServiceCollection, Action<RegionNotificationEndpointsClientBuilder>)
public static IServiceCollection AddRegionNotificationEndpointsClient(this IServiceCollection services, Action<RegionNotificationEndpointsClientBuilder> action = null)
Adds a singleton RegionNotificationEndpointsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionNotificationEndpointsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionOperationsClient(IServiceCollection, Action<RegionOperationsClientBuilder>)
public static IServiceCollection AddRegionOperationsClient(this IServiceCollection services, Action<RegionOperationsClientBuilder> action = null)
Adds a singleton RegionOperationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionOperationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionsClient(IServiceCollection, Action<RegionsClientBuilder>)
public static IServiceCollection AddRegionsClient(this IServiceCollection services, Action<RegionsClientBuilder> action = null)
Adds a singleton RegionsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionSecurityPoliciesClient(IServiceCollection, Action<RegionSecurityPoliciesClientBuilder>)
public static IServiceCollection AddRegionSecurityPoliciesClient(this IServiceCollection services, Action<RegionSecurityPoliciesClientBuilder> action = null)
Adds a singleton RegionSecurityPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionSecurityPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionSslCertificatesClient(IServiceCollection, Action<RegionSslCertificatesClientBuilder>)
public static IServiceCollection AddRegionSslCertificatesClient(this IServiceCollection services, Action<RegionSslCertificatesClientBuilder> action = null)
Adds a singleton RegionSslCertificatesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionSslCertificatesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionTargetHttpProxiesClient(IServiceCollection, Action<RegionTargetHttpProxiesClientBuilder>)
public static IServiceCollection AddRegionTargetHttpProxiesClient(this IServiceCollection services, Action<RegionTargetHttpProxiesClientBuilder> action = null)
Adds a singleton RegionTargetHttpProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionTargetHttpProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionTargetHttpsProxiesClient(IServiceCollection, Action<RegionTargetHttpsProxiesClientBuilder>)
public static IServiceCollection AddRegionTargetHttpsProxiesClient(this IServiceCollection services, Action<RegionTargetHttpsProxiesClientBuilder> action = null)
Adds a singleton RegionTargetHttpsProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionTargetHttpsProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRegionUrlMapsClient(IServiceCollection, Action<RegionUrlMapsClientBuilder>)
public static IServiceCollection AddRegionUrlMapsClient(this IServiceCollection services, Action<RegionUrlMapsClientBuilder> action = null)
Adds a singleton RegionUrlMapsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RegionUrlMapsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddReservationsClient(IServiceCollection, Action<ReservationsClientBuilder>)
public static IServiceCollection AddReservationsClient(this IServiceCollection services, Action<ReservationsClientBuilder> action = null)
Adds a singleton ReservationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ReservationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddResourcePoliciesClient(IServiceCollection, Action<ResourcePoliciesClientBuilder>)
public static IServiceCollection AddResourcePoliciesClient(this IServiceCollection services, Action<ResourcePoliciesClientBuilder> action = null)
Adds a singleton ResourcePoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ResourcePoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRoutersClient(IServiceCollection, Action<RoutersClientBuilder>)
public static IServiceCollection AddRoutersClient(this IServiceCollection services, Action<RoutersClientBuilder> action = null)
Adds a singleton RoutersClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RoutersClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddRoutesClient(IServiceCollection, Action<RoutesClientBuilder>)
public static IServiceCollection AddRoutesClient(this IServiceCollection services, Action<RoutesClientBuilder> action = null)
Adds a singleton RoutesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<RoutesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSecurityPoliciesClient(IServiceCollection, Action<SecurityPoliciesClientBuilder>)
public static IServiceCollection AddSecurityPoliciesClient(this IServiceCollection services, Action<SecurityPoliciesClientBuilder> action = null)
Adds a singleton SecurityPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<SecurityPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddServiceAttachmentsClient(IServiceCollection, Action<ServiceAttachmentsClientBuilder>)
public static IServiceCollection AddServiceAttachmentsClient(this IServiceCollection services, Action<ServiceAttachmentsClientBuilder> action = null)
Adds a singleton ServiceAttachmentsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ServiceAttachmentsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSnapshotsClient(IServiceCollection, Action<SnapshotsClientBuilder>)
public static IServiceCollection AddSnapshotsClient(this IServiceCollection services, Action<SnapshotsClientBuilder> action = null)
Adds a singleton SnapshotsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<SnapshotsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSslCertificatesClient(IServiceCollection, Action<SslCertificatesClientBuilder>)
public static IServiceCollection AddSslCertificatesClient(this IServiceCollection services, Action<SslCertificatesClientBuilder> action = null)
Adds a singleton SslCertificatesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<SslCertificatesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSslPoliciesClient(IServiceCollection, Action<SslPoliciesClientBuilder>)
public static IServiceCollection AddSslPoliciesClient(this IServiceCollection services, Action<SslPoliciesClientBuilder> action = null)
Adds a singleton SslPoliciesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<SslPoliciesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddSubnetworksClient(IServiceCollection, Action<SubnetworksClientBuilder>)
public static IServiceCollection AddSubnetworksClient(this IServiceCollection services, Action<SubnetworksClientBuilder> action = null)
Adds a singleton SubnetworksClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<SubnetworksClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetGrpcProxiesClient(IServiceCollection, Action<TargetGrpcProxiesClientBuilder>)
public static IServiceCollection AddTargetGrpcProxiesClient(this IServiceCollection services, Action<TargetGrpcProxiesClientBuilder> action = null)
Adds a singleton TargetGrpcProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetGrpcProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetHttpProxiesClient(IServiceCollection, Action<TargetHttpProxiesClientBuilder>)
public static IServiceCollection AddTargetHttpProxiesClient(this IServiceCollection services, Action<TargetHttpProxiesClientBuilder> action = null)
Adds a singleton TargetHttpProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetHttpProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetHttpsProxiesClient(IServiceCollection, Action<TargetHttpsProxiesClientBuilder>)
public static IServiceCollection AddTargetHttpsProxiesClient(this IServiceCollection services, Action<TargetHttpsProxiesClientBuilder> action = null)
Adds a singleton TargetHttpsProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetHttpsProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetInstancesClient(IServiceCollection, Action<TargetInstancesClientBuilder>)
public static IServiceCollection AddTargetInstancesClient(this IServiceCollection services, Action<TargetInstancesClientBuilder> action = null)
Adds a singleton TargetInstancesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetInstancesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetPoolsClient(IServiceCollection, Action<TargetPoolsClientBuilder>)
public static IServiceCollection AddTargetPoolsClient(this IServiceCollection services, Action<TargetPoolsClientBuilder> action = null)
Adds a singleton TargetPoolsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetPoolsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetSslProxiesClient(IServiceCollection, Action<TargetSslProxiesClientBuilder>)
public static IServiceCollection AddTargetSslProxiesClient(this IServiceCollection services, Action<TargetSslProxiesClientBuilder> action = null)
Adds a singleton TargetSslProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetSslProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetTcpProxiesClient(IServiceCollection, Action<TargetTcpProxiesClientBuilder>)
public static IServiceCollection AddTargetTcpProxiesClient(this IServiceCollection services, Action<TargetTcpProxiesClientBuilder> action = null)
Adds a singleton TargetTcpProxiesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetTcpProxiesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddTargetVpnGatewaysClient(IServiceCollection, Action<TargetVpnGatewaysClientBuilder>)
public static IServiceCollection AddTargetVpnGatewaysClient(this IServiceCollection services, Action<TargetVpnGatewaysClientBuilder> action = null)
Adds a singleton TargetVpnGatewaysClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<TargetVpnGatewaysClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddUrlMapsClient(IServiceCollection, Action<UrlMapsClientBuilder>)
public static IServiceCollection AddUrlMapsClient(this IServiceCollection services, Action<UrlMapsClientBuilder> action = null)
Adds a singleton UrlMapsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<UrlMapsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddVpnGatewaysClient(IServiceCollection, Action<VpnGatewaysClientBuilder>)
public static IServiceCollection AddVpnGatewaysClient(this IServiceCollection services, Action<VpnGatewaysClientBuilder> action = null)
Adds a singleton VpnGatewaysClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<VpnGatewaysClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddVpnTunnelsClient(IServiceCollection, Action<VpnTunnelsClientBuilder>)
public static IServiceCollection AddVpnTunnelsClient(this IServiceCollection services, Action<VpnTunnelsClientBuilder> action = null)
Adds a singleton VpnTunnelsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<VpnTunnelsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddZoneOperationsClient(IServiceCollection, Action<ZoneOperationsClientBuilder>)
public static IServiceCollection AddZoneOperationsClient(this IServiceCollection services, Action<ZoneOperationsClientBuilder> action = null)
Adds a singleton ZoneOperationsClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ZoneOperationsClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |
AddZonesClient(IServiceCollection, Action<ZonesClientBuilder>)
public static IServiceCollection AddZonesClient(this IServiceCollection services, Action<ZonesClientBuilder> action = null)
Adds a singleton ZonesClient to services
.
Parameters | |
---|---|
Name | Description |
services | IServiceCollection The service collection to add the client to. The services are used to configure the client when requested. |
action | Action<ZonesClientBuilder> An optional action to invoke on the client builder. This is invoked before services from
|
Returns | |
---|---|
Type | Description |
IServiceCollection |