MockableNetworkSubscriptionResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class to add extension methods to SubscriptionResource.
public class MockableNetworkSubscriptionResource : Azure.ResourceManager.ArmResource
type MockableNetworkSubscriptionResource = class
inherit ArmResource
Public Class MockableNetworkSubscriptionResource
Inherits ArmResource
- Inheritance
Constructors
MockableNetworkSubscriptionResource() |
Initializes a new instance of the MockableNetworkSubscriptionResource class for mocking. |
Properties
Client |
Gets the ArmClient this resource client was created from. (Inherited from ArmResource) |
Diagnostics |
Gets the diagnostic options for this resource client. (Inherited from ArmResource) |
Endpoint |
Gets the base uri for this resource client. (Inherited from ArmResource) |
Id |
Gets the resource identifier. (Inherited from ArmResource) |
Pipeline |
Gets the pipeline for this resource client. (Inherited from ArmResource) |
Methods
CanUseTagResource(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
CanUseTagResourceAsync(CancellationToken) |
Checks to see if the TagResource API is deployed in the current environment. (Inherited from ArmResource) |
CheckDnsNameAvailability(AzureLocation, String, CancellationToken) |
Checks whether a domain name in the cloudapp.azure.com zone is available for use.
|
CheckDnsNameAvailabilityAsync(AzureLocation, String, CancellationToken) |
Checks whether a domain name in the cloudapp.azure.com zone is available for use.
|
CheckPrivateLinkServiceVisibilityPrivateLinkService(WaitUntil, AzureLocation, CheckPrivateLinkServiceVisibilityRequest, CancellationToken) |
Checks whether the subscription is visible to private link service.
|
CheckPrivateLinkServiceVisibilityPrivateLinkServiceAsync(WaitUntil, AzureLocation, CheckPrivateLinkServiceVisibilityRequest, CancellationToken) |
Checks whether the subscription is visible to private link service.
|
GetAllServiceTagInformation(AzureLocation, Nullable<Boolean>, String, CancellationToken) |
Gets a list of service tag information resources with pagination.
|
GetAllServiceTagInformationAsync(AzureLocation, Nullable<Boolean>, String, CancellationToken) |
Gets a list of service tag information resources with pagination.
|
GetAppGatewayAvailableWafRuleSets(CancellationToken) |
Lists all available web application firewall rule sets.
|
GetAppGatewayAvailableWafRuleSetsAsync(CancellationToken) |
Lists all available web application firewall rule sets.
|
GetApplicationGatewayAvailableSslOptions(CancellationToken) |
Lists available Ssl options for configuring Ssl policy.
|
GetApplicationGatewayAvailableSslOptionsAsync(CancellationToken) |
Lists available Ssl options for configuring Ssl policy.
|
GetApplicationGatewayAvailableSslPredefinedPolicies(CancellationToken) |
Lists all SSL predefined policies for configuring Ssl policy.
|
GetApplicationGatewayAvailableSslPredefinedPoliciesAsync(CancellationToken) |
Lists all SSL predefined policies for configuring Ssl policy.
|
GetApplicationGateways(CancellationToken) |
Gets all the application gateways in a subscription.
|
GetApplicationGatewaysAsync(CancellationToken) |
Gets all the application gateways in a subscription.
|
GetApplicationGatewaySslPredefinedPolicy(String, CancellationToken) |
Gets Ssl predefined policy with the specified policy name.
|
GetApplicationGatewaySslPredefinedPolicyAsync(String, CancellationToken) |
Gets Ssl predefined policy with the specified policy name.
|
GetApplicationGatewayWafDynamicManifest(AzureLocation, CancellationToken) |
Gets the regional application gateway waf manifest.
|
GetApplicationGatewayWafDynamicManifestAsync(AzureLocation, CancellationToken) |
Gets the regional application gateway waf manifest.
|
GetApplicationGatewayWafDynamicManifests(AzureLocation) |
Gets a collection of ApplicationGatewayWafDynamicManifestResources in the SubscriptionResource. |
GetApplicationSecurityGroups(CancellationToken) |
Gets all application security groups in a subscription.
|
GetApplicationSecurityGroupsAsync(CancellationToken) |
Gets all application security groups in a subscription.
|
GetAutoApprovedPrivateLinkServicesPrivateLinkServices(AzureLocation, CancellationToken) |
Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.
|
GetAutoApprovedPrivateLinkServicesPrivateLinkServicesAsync(AzureLocation, CancellationToken) |
Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.
|
GetAvailableDelegations(AzureLocation, CancellationToken) |
Gets all of the available subnet delegations for this subscription in this region.
|
GetAvailableDelegationsAsync(AzureLocation, CancellationToken) |
Gets all of the available subnet delegations for this subscription in this region.
|
GetAvailableEndpointServices(AzureLocation, CancellationToken) |
List what values of endpoint services are available for use.
|
GetAvailableEndpointServicesAsync(AzureLocation, CancellationToken) |
List what values of endpoint services are available for use.
|
GetAvailableLocations(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
GetAvailableLocationsAsync(CancellationToken) |
Lists all available geo-locations. (Inherited from ArmResource) |
GetAvailablePrivateEndpointTypes(AzureLocation, CancellationToken) |
Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.
|
GetAvailablePrivateEndpointTypesAsync(AzureLocation, CancellationToken) |
Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.
|
GetAvailableRequestHeadersApplicationGateways(CancellationToken) |
Lists all available request headers.
|
GetAvailableRequestHeadersApplicationGatewaysAsync(CancellationToken) |
Lists all available request headers.
|
GetAvailableResponseHeadersApplicationGateways(CancellationToken) |
Lists all available response headers.
|
GetAvailableResponseHeadersApplicationGatewaysAsync(CancellationToken) |
Lists all available response headers.
|
GetAvailableServerVariablesApplicationGateways(CancellationToken) |
Lists all available server variables.
|
GetAvailableServerVariablesApplicationGatewaysAsync(CancellationToken) |
Lists all available server variables.
|
GetAvailableServiceAliases(AzureLocation, CancellationToken) |
Gets all available service aliases for this subscription in this region.
|
GetAvailableServiceAliasesAsync(AzureLocation, CancellationToken) |
Gets all available service aliases for this subscription in this region.
|
GetAzureFirewallFqdnTags(CancellationToken) |
Gets all the Azure Firewall FQDN Tags in a subscription.
|
GetAzureFirewallFqdnTagsAsync(CancellationToken) |
Gets all the Azure Firewall FQDN Tags in a subscription.
|
GetAzureFirewalls(CancellationToken) |
Gets all the Azure Firewalls in a subscription.
|
GetAzureFirewallsAsync(CancellationToken) |
Gets all the Azure Firewalls in a subscription.
|
GetAzureWebCategories() |
Gets a collection of AzureWebCategoryResources in the SubscriptionResource. |
GetAzureWebCategory(String, String, CancellationToken) |
Gets the specified Azure Web Category.
|
GetAzureWebCategoryAsync(String, String, CancellationToken) |
Gets the specified Azure Web Category.
|
GetBastionHosts(CancellationToken) |
Lists all Bastion Hosts in a subscription.
|
GetBastionHostsAsync(CancellationToken) |
Lists all Bastion Hosts in a subscription.
|
GetBgpServiceCommunities(CancellationToken) |
Gets all the available bgp service communities.
|
GetBgpServiceCommunitiesAsync(CancellationToken) |
Gets all the available bgp service communities.
|
GetCustomIPPrefixes(CancellationToken) |
Gets all the custom IP prefixes in a subscription.
|
GetCustomIPPrefixesAsync(CancellationToken) |
Gets all the custom IP prefixes in a subscription.
|
GetDdosProtectionPlans(CancellationToken) |
Gets all DDoS protection plans in a subscription.
|
GetDdosProtectionPlansAsync(CancellationToken) |
Gets all DDoS protection plans in a subscription.
|
GetDscpConfigurations(CancellationToken) |
Gets all dscp configurations in a subscription.
|
GetDscpConfigurationsAsync(CancellationToken) |
Gets all dscp configurations in a subscription.
|
GetExpressRouteCircuits(CancellationToken) |
Gets all the express route circuits in a subscription.
|
GetExpressRouteCircuitsAsync(CancellationToken) |
Gets all the express route circuits in a subscription.
|
GetExpressRouteCrossConnections(String, CancellationToken) |
Retrieves all the ExpressRouteCrossConnections in a subscription.
|
GetExpressRouteCrossConnectionsAsync(String, CancellationToken) |
Retrieves all the ExpressRouteCrossConnections in a subscription.
|
GetExpressRouteGateways(CancellationToken) |
Lists ExpressRoute gateways under a given subscription.
|
GetExpressRouteGatewaysAsync(CancellationToken) |
Lists ExpressRoute gateways under a given subscription.
|
GetExpressRoutePorts(CancellationToken) |
List all the ExpressRoutePort resources in the specified subscription.
|
GetExpressRoutePortsAsync(CancellationToken) |
List all the ExpressRoutePort resources in the specified subscription.
|
GetExpressRoutePortsLocation(String, CancellationToken) |
Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
|
GetExpressRoutePortsLocationAsync(String, CancellationToken) |
Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.
|
GetExpressRoutePortsLocations() |
Gets a collection of ExpressRoutePortsLocationResources in the SubscriptionResource. |
GetExpressRouteProviderPort(String, CancellationToken) |
Retrieves detail of a provider port.
|
GetExpressRouteProviderPortAsync(String, CancellationToken) |
Retrieves detail of a provider port.
|
GetExpressRouteProviderPorts() |
Gets a collection of ExpressRouteProviderPortResources in the SubscriptionResource. |
GetExpressRouteServiceProviders(CancellationToken) |
Gets all the available express route service providers.
|
GetExpressRouteServiceProvidersAsync(CancellationToken) |
Gets all the available express route service providers.
|
GetFirewallPolicies(CancellationToken) |
Gets all the Firewall Policies in a subscription.
|
GetFirewallPoliciesAsync(CancellationToken) |
Gets all the Firewall Policies in a subscription.
|
GetIPAllocations(CancellationToken) |
Gets all IpAllocations in a subscription.
|
GetIPAllocationsAsync(CancellationToken) |
Gets all IpAllocations in a subscription.
|
GetIPGroups(CancellationToken) |
Gets all IpGroups in a subscription.
|
GetIPGroupsAsync(CancellationToken) |
Gets all IpGroups in a subscription.
|
GetLoadBalancers(CancellationToken) |
Gets all the load balancers in a subscription.
|
GetLoadBalancersAsync(CancellationToken) |
Gets all the load balancers in a subscription.
|
GetManagementLock(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLockAsync(String, CancellationToken) |
Get a management lock by scope.
|
GetManagementLocks() |
Gets a collection of ManagementLockResources in the ArmResource. (Inherited from ArmResource) |
GetNatGateways(CancellationToken) |
Gets all the Nat Gateways in a subscription.
|
GetNatGatewaysAsync(CancellationToken) |
Gets all the Nat Gateways in a subscription.
|
GetNetworkInterfaces(CancellationToken) |
Gets all network interfaces in a subscription.
|
GetNetworkInterfacesAsync(CancellationToken) |
Gets all network interfaces in a subscription.
|
GetNetworkManagers(Nullable<Int32>, String, CancellationToken) |
List all network managers in a subscription.
|
GetNetworkManagersAsync(Nullable<Int32>, String, CancellationToken) |
List all network managers in a subscription.
|
GetNetworkProfiles(CancellationToken) |
Gets all the network profiles in a subscription.
|
GetNetworkProfilesAsync(CancellationToken) |
Gets all the network profiles in a subscription.
|
GetNetworkSecurityGroups(CancellationToken) |
Gets all network security groups in a subscription.
|
GetNetworkSecurityGroupsAsync(CancellationToken) |
Gets all network security groups in a subscription.
|
GetNetworkVirtualAppliances(CancellationToken) |
Gets all Network Virtual Appliances in a subscription.
|
GetNetworkVirtualAppliancesAsync(CancellationToken) |
Gets all Network Virtual Appliances in a subscription.
|
GetNetworkVirtualApplianceSku(String, CancellationToken) |
Retrieves a single available sku for network virtual appliance.
|
GetNetworkVirtualApplianceSkuAsync(String, CancellationToken) |
Retrieves a single available sku for network virtual appliance.
|
GetNetworkVirtualApplianceSkus() |
Gets a collection of NetworkVirtualApplianceSkuResources in the SubscriptionResource. |
GetNetworkWatchers(CancellationToken) |
Gets all network watchers by subscription.
|
GetNetworkWatchersAsync(CancellationToken) |
Gets all network watchers by subscription.
|
GetP2SVpnGateways(CancellationToken) |
Lists all the P2SVpnGateways in a subscription.
|
GetP2SVpnGatewaysAsync(CancellationToken) |
Lists all the P2SVpnGateways in a subscription.
|
GetPolicyAssignment(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignmentAsync(String, CancellationToken) |
This operation retrieves a single policy assignment, given its name and the scope it was created at.
|
GetPolicyAssignments() |
Gets a collection of PolicyAssignmentResources in the ArmResource. (Inherited from ArmResource) |
GetPrivateEndpoints(CancellationToken) |
Gets all private endpoints in a subscription.
|
GetPrivateEndpointsAsync(CancellationToken) |
Gets all private endpoints in a subscription.
|
GetPrivateLinkServices(CancellationToken) |
Gets all private link service in a subscription.
|
GetPrivateLinkServicesAsync(CancellationToken) |
Gets all private link service in a subscription.
|
GetPublicIPAddresses(CancellationToken) |
Gets all the public IP addresses in a subscription.
|
GetPublicIPAddressesAsync(CancellationToken) |
Gets all the public IP addresses in a subscription.
|
GetPublicIPPrefixes(CancellationToken) |
Gets all the public IP prefixes in a subscription.
|
GetPublicIPPrefixesAsync(CancellationToken) |
Gets all the public IP prefixes in a subscription.
|
GetRouteFilters(CancellationToken) |
Gets all route filters in a subscription.
|
GetRouteFiltersAsync(CancellationToken) |
Gets all route filters in a subscription.
|
GetRouteTables(CancellationToken) |
Gets all route tables in a subscription.
|
GetRouteTablesAsync(CancellationToken) |
Gets all route tables in a subscription.
|
GetSecurityPartnerProviders(CancellationToken) |
Gets all the Security Partner Providers in a subscription.
|
GetSecurityPartnerProvidersAsync(CancellationToken) |
Gets all the Security Partner Providers in a subscription.
|
GetServiceEndpointPoliciesByServiceEndpointPolicy(CancellationToken) |
Gets all the service endpoint policies in a subscription.
|
GetServiceEndpointPoliciesByServiceEndpointPolicyAsync(CancellationToken) |
Gets all the service endpoint policies in a subscription.
|
GetServiceTag(AzureLocation, CancellationToken) |
Gets a list of service tag information resources.
|
GetServiceTagAsync(AzureLocation, CancellationToken) |
Gets a list of service tag information resources.
|
GetSubscriptionNetworkManagerConnection(String, CancellationToken) |
Get a specified connection created by this subscription.
|
GetSubscriptionNetworkManagerConnectionAsync(String, CancellationToken) |
Get a specified connection created by this subscription.
|
GetSubscriptionNetworkManagerConnections() |
Gets a collection of SubscriptionNetworkManagerConnectionResources in the SubscriptionResource. |
GetTagResource() |
Gets an object representing a TagResource along with the instance operations that can be performed on it in the ArmResource. (Inherited from ArmResource) |
GetUsages(AzureLocation, CancellationToken) |
List network usages for a subscription.
|
GetUsagesAsync(AzureLocation, CancellationToken) |
List network usages for a subscription.
|
GetVirtualHubs(CancellationToken) |
Lists all the VirtualHubs in a subscription.
|
GetVirtualHubsAsync(CancellationToken) |
Lists all the VirtualHubs in a subscription.
|
GetVirtualNetworks(CancellationToken) |
Gets all virtual networks in a subscription.
|
GetVirtualNetworksAsync(CancellationToken) |
Gets all virtual networks in a subscription.
|
GetVirtualNetworkTaps(CancellationToken) |
Gets all the VirtualNetworkTaps in a subscription.
|
GetVirtualNetworkTapsAsync(CancellationToken) |
Gets all the VirtualNetworkTaps in a subscription.
|
GetVirtualRouters(CancellationToken) |
Gets all the Virtual Routers in a subscription.
|
GetVirtualRoutersAsync(CancellationToken) |
Gets all the Virtual Routers in a subscription.
|
GetVirtualWans(CancellationToken) |
Lists all the VirtualWANs in a subscription.
|
GetVirtualWansAsync(CancellationToken) |
Lists all the VirtualWANs in a subscription.
|
GetVpnGateways(CancellationToken) |
Lists all the VpnGateways in a subscription.
|
GetVpnGatewaysAsync(CancellationToken) |
Lists all the VpnGateways in a subscription.
|
GetVpnServerConfigurations(CancellationToken) |
Lists all the VpnServerConfigurations in a subscription.
|
GetVpnServerConfigurationsAsync(CancellationToken) |
Lists all the VpnServerConfigurations in a subscription.
|
GetVpnSites(CancellationToken) |
Lists all the VpnSites in a subscription.
|
GetVpnSitesAsync(CancellationToken) |
Lists all the VpnSites in a subscription.
|
GetWebApplicationFirewallPolicies(CancellationToken) |
Gets all the WAF policies in a subscription.
|
GetWebApplicationFirewallPoliciesAsync(CancellationToken) |
Gets all the WAF policies in a subscription.
|
SwapPublicIPAddressesLoadBalancer(WaitUntil, AzureLocation, LoadBalancerVipSwapContent, CancellationToken) |
Swaps VIPs between two load balancers.
|
SwapPublicIPAddressesLoadBalancerAsync(WaitUntil, AzureLocation, LoadBalancerVipSwapContent, CancellationToken) |
Swaps VIPs between two load balancers.
|
TryGetApiVersion(ResourceType, String) |
Gets the api version override if it has been set for the current client options. (Inherited from ArmResource) |
Extension Methods
GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken) |
Get role definition by name (GUID).
|
GetAuthorizationRoleDefinitions(ArmResource) |
Gets a collection of AuthorizationRoleDefinitionResources in the ArmResource. MockingTo mock this method, please mock GetAuthorizationRoleDefinitions() instead. |
GetDenyAssignment(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified deny assignment.
|
GetDenyAssignments(ArmResource) |
Gets a collection of DenyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetDenyAssignments() instead. |
GetRoleAssignment(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken) |
Get a role assignment by scope and name.
|
GetRoleAssignments(ArmResource) |
Gets a collection of RoleAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignments() instead. |
GetRoleAssignmentSchedule(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule for a resource scope
|
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role assignment schedule instance.
|
GetRoleAssignmentScheduleInstances(ArmResource) |
Gets a collection of RoleAssignmentScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleInstances() instead. |
GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role assignment schedule request.
|
GetRoleAssignmentScheduleRequests(ArmResource) |
Gets a collection of RoleAssignmentScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentScheduleRequests() instead. |
GetRoleAssignmentSchedules(ArmResource) |
Gets a collection of RoleAssignmentScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleAssignmentSchedules() instead. |
GetRoleEligibilitySchedule(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule for a resource scope
|
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken) |
Gets the specified role eligibility schedule instance.
|
GetRoleEligibilityScheduleInstances(ArmResource) |
Gets a collection of RoleEligibilityScheduleInstanceResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleInstances() instead. |
GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken) |
Get the specified role eligibility schedule request.
|
GetRoleEligibilityScheduleRequests(ArmResource) |
Gets a collection of RoleEligibilityScheduleRequestResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilityScheduleRequests() instead. |
GetRoleEligibilitySchedules(ArmResource) |
Gets a collection of RoleEligibilityScheduleResources in the ArmResource. MockingTo mock this method, please mock GetRoleEligibilitySchedules() instead. |
GetRoleManagementPolicies(ArmResource) |
Gets a collection of RoleManagementPolicyResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicies() instead. |
GetRoleManagementPolicy(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy assignment for a resource scope
|
GetRoleManagementPolicyAssignments(ArmResource) |
Gets a collection of RoleManagementPolicyAssignmentResources in the ArmResource. MockingTo mock this method, please mock GetRoleManagementPolicyAssignments() instead. |
GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken) |
Get the specified role management policy for a resource scope
|
GetSystemAssignedIdentity(ArmResource) |
Gets an object representing a SystemAssignedIdentityResource along with the instance operations that can be performed on it in the ArmResource. MockingTo mock this method, please mock GetSystemAssignedIdentity() instead. |
GetLinkerResource(ArmResource, String, CancellationToken) |
Returns Linker resource for a given name.
|
GetLinkerResourceAsync(ArmResource, String, CancellationToken) |
Returns Linker resource for a given name.
|
GetLinkerResources(ArmResource) |
Gets a collection of LinkerResources in the ArmResource. MockingTo mock this method, please mock GetLinkerResources() instead. |
Applies to
Azure SDK for .NET