共用方式為


NspLinkReference Class

The network security perimeter linkReference resource.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

NspLinkReference(*, local_inbound_profiles: list[str] | None = None, status: str | _models.NspLinkStatus | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
local_inbound_profiles

Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.

Default value: None
status

The NSP linkReference state. It cannot be changed if link is created in auto-approval mode. Known values are: "Approved", "Pending", "Rejected", and "Disconnected".

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}".

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

provisioning_state

The provisioning state of the NSP LinkReference resource. Known values are: "Succeeded", "Creating", "Updating", "Deleting", "Accepted", "Failed", and "WaitForRemoteCompletion".

remote_perimeter_resource_id
str

Perimeter ARM Id for the remote NSP with which the link is created.

remote_perimeter_guid
str

Remote NSP Guid with which the link is created.

remote_perimeter_location
str

Remote NSP location with which the link gets created.

local_inbound_profiles

Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.

local_outbound_profiles

Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.

remote_inbound_profiles

Remote Inbound profile names to which Inbound is allowed. ['*'] value implies inbound is allowed to all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.

remote_outbound_profiles

Remote Outbound profile names from which Outbound is allowed. ['*'] value implies outbound is allowed from all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.

description
str

A message sent by the remote NSP link admin for connection request. In case of Auto-approved flow, it is default to 'Auto Approved'.

status

The NSP linkReference state. It cannot be changed if link is created in auto-approval mode. Known values are: "Approved", "Pending", "Rejected", and "Disconnected".