次の方法で共有


AddCustomerAddressSpace method of the MSFT_IPAM_AddressSpace class

Adds a new customer address space to IPAM.

Syntax

uint32 AddCustomerAddressSpace(
  [in]  string                 Name,
  [in]  string                 AssociatedProviderAddressSpace,
  [in]  string                 Tenant,
  [in]  string                 VMNetwork,
  [in]  string                 IsolationMethod,
  [in]  string                 Owner,
  [in]  string                 Description,
  [in]  string                 CustomConfiguration,
  [out] MSFT_IPAM_AddressSpace output
);

Parameters

Name [in]

The name of the address space.

AssociatedProviderAddressSpace [in]

Specifies a provider address space that is associated with this customer address space.

Note

This property can only be set if the Type property is set to (CustomerAddressSpace).

Tenant [in]

The tenant that owns the address space.

VMNetwork [in]

The name of the VM network that contains the address space.

IsolationMethod [in]

The isolation method to use for tenant traffic in the address space.

Owner [in]

The owner of the address space.

Description [in]

The description of the address space.

CustomConfiguration [in]

A set of custom configuration data for the address space. The data is formatted with semi-colon separated name value pairs.

output [out]

When this method returns, this parameter contains the added address space object.

Return value

Returns 0 on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\IPAM
MOF
IPAMServerPSProvider.mof
DLL
IPAMServerPSProvider.dll

See also

MSFT_IPAM_AddressSpace