コード例 #1
0
 /// <inheritdoc/>
 public Port UpdatePort(string portId, bool? adminStateUp = null, string[] securityGroups = null, FixedIp[] fixedIps = null, AllowedAddressPair[] allowedAddressPairs = null)
 {
     return NetworksProvider.UpdatePort(portId, adminStateUp, securityGroups, fixedIps, allowedAddressPairs, this.DefaultRegion, this.Identity);
 }
コード例 #2
0
 /// <inheritdoc/>
 public Port CreatePort(string networkId, FixedIp[] fixedIps = null, Dictionary<string, string> allowedAddressPairs = null, string tenantId = null, string[] securityGroups = null, string status = null)
 {
     return NetworksProvider.CreatePort(networkId, fixedIps, allowedAddressPairs, tenantId, securityGroups, status, this.DefaultRegion, this.Identity);
 }