Compute Engine v1 API - Class ServiceCollectionExtensions (2.15.0)

public static class ServiceCollectionExtensions

Reference documentation and code samples for the Compute Engine v1 API class ServiceCollectionExtensions.

Static class to provide extension methods to configure API clients.

Inheritance

object > ServiceCollectionExtensions

Namespace

Microsoft.Extensions.DependencyInjection

Assembly

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 ActionAcceleratorTypesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionAddressesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionAutoscalersClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionBackendBucketsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionBackendServicesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionDiskTypesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionDisksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionExternalVpnGatewaysClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionFirewallPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionFirewallsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionForwardingRulesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalAddressesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalForwardingRulesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalNetworkEndpointGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalOperationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalOrganizationOperationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionGlobalPublicDelegatedPrefixesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionHealthChecksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionImageFamilyViewsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionImagesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInstanceGroupManagersClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInstanceGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInstanceTemplatesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInstancesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddInstantSnapshotsClient(IServiceCollection, Action<InstantSnapshotsClientBuilder>)

public static IServiceCollection AddInstantSnapshotsClient(this IServiceCollection services, Action<InstantSnapshotsClientBuilder> action = null)

Adds a singleton InstantSnapshotsClient 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 ActionInstantSnapshotsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInterconnectAttachmentsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInterconnectLocationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddInterconnectRemoteLocationsClient(IServiceCollection, Action<InterconnectRemoteLocationsClientBuilder>)

public static IServiceCollection AddInterconnectRemoteLocationsClient(this IServiceCollection services, Action<InterconnectRemoteLocationsClientBuilder> action = null)

Adds a singleton InterconnectRemoteLocationsClient 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 ActionInterconnectRemoteLocationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionInterconnectsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionLicenseCodesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionLicensesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionMachineImagesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionMachineTypesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddNetworkAttachmentsClient(IServiceCollection, Action<NetworkAttachmentsClientBuilder>)

public static IServiceCollection AddNetworkAttachmentsClient(this IServiceCollection services, Action<NetworkAttachmentsClientBuilder> action = null)

Adds a singleton NetworkAttachmentsClient 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 ActionNetworkAttachmentsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNetworkEdgeSecurityServicesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNetworkEndpointGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNetworkFirewallPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNetworksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNodeGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNodeTemplatesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionNodeTypesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionPacketMirroringsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionProjectsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionPublicAdvertisedPrefixesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionPublicDelegatedPrefixesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionAutoscalersClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionBackendServicesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionCommitmentsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionDiskTypesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionDisksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionHealthCheckServicesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionHealthChecksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionInstanceGroupManagersClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionInstanceGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddRegionInstanceTemplatesClient(IServiceCollection, Action<RegionInstanceTemplatesClientBuilder>)

public static IServiceCollection AddRegionInstanceTemplatesClient(this IServiceCollection services, Action<RegionInstanceTemplatesClientBuilder> action = null)

Adds a singleton RegionInstanceTemplatesClient 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 ActionRegionInstanceTemplatesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionInstancesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddRegionInstantSnapshotsClient(IServiceCollection, Action<RegionInstantSnapshotsClientBuilder>)

public static IServiceCollection AddRegionInstantSnapshotsClient(this IServiceCollection services, Action<RegionInstantSnapshotsClientBuilder> action = null)

Adds a singleton RegionInstantSnapshotsClient 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 ActionRegionInstantSnapshotsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionNetworkEndpointGroupsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionNetworkFirewallPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionNotificationEndpointsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionOperationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionSecurityPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionSslCertificatesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddRegionSslPoliciesClient(IServiceCollection, Action<RegionSslPoliciesClientBuilder>)

public static IServiceCollection AddRegionSslPoliciesClient(this IServiceCollection services, Action<RegionSslPoliciesClientBuilder> action = null)

Adds a singleton RegionSslPoliciesClient 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 ActionRegionSslPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionTargetHttpProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionTargetHttpsProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddRegionTargetTcpProxiesClient(IServiceCollection, Action<RegionTargetTcpProxiesClientBuilder>)

public static IServiceCollection AddRegionTargetTcpProxiesClient(this IServiceCollection services, Action<RegionTargetTcpProxiesClientBuilder> action = null)

Adds a singleton RegionTargetTcpProxiesClient 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 ActionRegionTargetTcpProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionUrlMapsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddRegionZonesClient(IServiceCollection, Action<RegionZonesClientBuilder>)

public static IServiceCollection AddRegionZonesClient(this IServiceCollection services, Action<RegionZonesClientBuilder> action = null)

Adds a singleton RegionZonesClient 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 ActionRegionZonesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRegionsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionReservationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionResourcePoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRoutersClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionRoutesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionSecurityPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionServiceAttachmentsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection

AddSnapshotSettingsServiceClient(IServiceCollection, Action<SnapshotSettingsServiceClientBuilder>)

public static IServiceCollection AddSnapshotSettingsServiceClient(this IServiceCollection services, Action<SnapshotSettingsServiceClientBuilder> action = null)

Adds a singleton SnapshotSettingsServiceClient 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 ActionSnapshotSettingsServiceClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionSnapshotsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionSslCertificatesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionSslPoliciesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionSubnetworksClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetGrpcProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetHttpProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetHttpsProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetInstancesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetPoolsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetSslProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetTcpProxiesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionTargetVpnGatewaysClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionUrlMapsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionVpnGatewaysClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionVpnTunnelsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionZoneOperationsClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

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 ActionZonesClientBuilder

An optional action to invoke on the client builder. This is invoked before services from services are used.

Returns
Type Description
IServiceCollection