ArmApiManagementModelFactory.NetworkStatusContractWithLocation Method

Definition

Initializes a new instance of NetworkStatusContractWithLocation.

public static Azure.ResourceManager.ApiManagement.Models.NetworkStatusContractWithLocation NetworkStatusContractWithLocation (Azure.Core.AzureLocation? location = default, Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract networkStatus = default);
static member NetworkStatusContractWithLocation : Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.ApiManagement.Models.NetworkStatusContract -> Azure.ResourceManager.ApiManagement.Models.NetworkStatusContractWithLocation
Public Shared Function NetworkStatusContractWithLocation (Optional location As Nullable(Of AzureLocation) = Nothing, Optional networkStatus As NetworkStatusContract = Nothing) As NetworkStatusContractWithLocation

Parameters

location
Nullable<AzureLocation>

Location of service.

networkStatus
NetworkStatusContract

Network status in Location.

Returns

A new NetworkStatusContractWithLocation instance for mocking.

Applies to