Connection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The connection resource definition.
[System.ComponentModel.TypeConverter(typeof(ADT.Models.ConnectionTypeConverter))]
public class Connection : ADT.Models.IConnection, ADT.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(ADT.Models.ConnectionTypeConverter))>]
type Connection = class
interface IConnection
interface IJsonSerializable
interface ITrackedResource
interface IResource
interface IValidates
Public Class Connection
Implements IConnection, IValidates
- Inheritance
-
Connection
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| Connection() |
Creates an new Connection instance. |
Properties
| Name | Description |
|---|---|
| Approver |
Approver of this connection request |
| DateSubmitted |
The timestamp that this connection request was submitted at |
| Direction |
Direction of data movement |
| FlowType |
The flow types being requested for this connection |
| ForceDisabledStatus |
Force disablement status of the current connection |
| Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| IdentityPrincipalId |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityTenantId |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| IdentityType |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
| IdentityUserAssignedIdentity |
The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. |
| Justification |
Justification for the connection request |
| LinkedConnectionId |
Resource ID of the linked connection |
| LinkStatus |
Link status of the current connection |
| Location |
The geo-location where the resource lives |
| Name |
The name of the resource |
| Pin |
PIN to link requests together |
| Pipeline |
Pipeline to use to transfer data |
| Policy |
The policies for this connection |
| PrimaryContact |
The primary contact for this connection request |
| ProvisioningState |
Provisioning state of the connection |
| RemoteSubscriptionId |
Subscription ID to link cloud subscriptions together |
| RequirementId |
Requirement ID of the connection |
| ResourceGroupName |
Gets the resource group name |
| Schema |
The schemas for this connection |
| SchemaUri |
The schema URIs for this connection |
| SecondaryContact |
The secondary contacts for this connection request |
| Status |
Status of the connection |
| StatusReason |
Reason for status |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| Tag |
Resource tags. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Connection. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of Connection. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of ADT.Models.IConnection. |
| FromJsonString(String) |
Creates a new instance of Connection, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of Connection into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |