/// <summary> /// Initializes a new instance of the GatewayProperties class. /// </summary> /// <param name="sourceNetwork">Network the gateway should listen on /// for requests.</param> /// <param name="destinationNetwork">Network that the Application is /// using.</param> /// <param name="description">User readable description of the /// gateway.</param> /// <param name="tcp">Configuration for tcp connectivity for this /// gateway.</param> /// <param name="http">Configuration for http connectivity for this /// gateway.</param> /// <param name="status">Status of the resource. Possible values /// include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', /// 'Failed'</param> /// <param name="statusDetails">Gives additional information about the /// current status of the gateway.</param> /// <param name="ipAddress">IP address of the gateway. This is /// populated in the response and is ignored for incoming /// requests.</param> public GatewayProperties(NetworkRef sourceNetwork, NetworkRef destinationNetwork, string description = default(string), IList <TcpConfig> tcp = default(IList <TcpConfig>), IList <HttpConfig> http = default(IList <HttpConfig>), string status = default(string), string statusDetails = default(string), string ipAddress = default(string)) { Description = description; SourceNetwork = sourceNetwork; DestinationNetwork = destinationNetwork; Tcp = tcp; Http = http; Status = status; StatusDetails = statusDetails; IpAddress = ipAddress; CustomInit(); }
/// <summary> /// Initializes a new instance of the GatewayResourceDescription class. /// </summary> /// <param name="location">The geo-location where the resource /// lives</param> /// <param name="sourceNetwork">Network the gateway should listen on /// for requests.</param> /// <param name="destinationNetwork">Network that the Application is /// using.</param> /// <param name="id">Fully qualified identifier for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param> /// <param name="name">The name of the resource</param> /// <param name="type">The type of the resource. Ex- /// Microsoft.Compute/virtualMachines or /// Microsoft.Storage/storageAccounts.</param> /// <param name="tags">Resource tags.</param> /// <param name="provisioningState">State of the resource.</param> /// <param name="description">User readable description of the /// gateway.</param> /// <param name="tcp">Configuration for tcp connectivity for this /// gateway.</param> /// <param name="http">Configuration for http connectivity for this /// gateway.</param> /// <param name="status">Status of the resource. Possible values /// include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', /// 'Failed'</param> /// <param name="statusDetails">Gives additional information about the /// current status of the gateway.</param> /// <param name="ipAddress">IP address of the gateway. This is /// populated in the response and is ignored for incoming /// requests.</param> public GatewayResourceDescription(string location, NetworkRef sourceNetwork, NetworkRef destinationNetwork, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string description = default(string), IList <TcpConfig> tcp = default(IList <TcpConfig>), IList <HttpConfig> http = default(IList <HttpConfig>), string status = default(string), string statusDetails = default(string), string ipAddress = default(string)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; Description = description; SourceNetwork = sourceNetwork; DestinationNetwork = destinationNetwork; Tcp = tcp; Http = http; Status = status; StatusDetails = statusDetails; IpAddress = ipAddress; CustomInit(); }