internal ManagedPrivateEndpoint(string id, string name, string type, ManagedPrivateEndpointProperties properties) { Id = id; Name = name; Type = type; Properties = properties; }
public PSManagedPrivateEndpointProperties(ManagedPrivateEndpointProperties properties) { this.PrivateLinkResourceId = properties?.PrivateLinkResourceId; this.GroupId = properties?.GroupId; this.ProvisioningState = properties?.ProvisioningState; this.IsReserved = properties?.IsReserved; this.ConnectionState = properties?.ConnectionState != null? new PSManagedPrivateEndpointConnectionState(properties?.ConnectionState) : null; }
public static ManagedPrivateEndpoint ManagedPrivateEndpoint(string id = default, string name = default, string type = default, ManagedPrivateEndpointProperties properties = default) { return(new ManagedPrivateEndpoint(id, name, type, properties)); }
public static ManagedPrivateEndpoint ManagedPrivateEndpoint(string id = null, string name = null, string type = null, ManagedPrivateEndpointProperties properties = null) { return(new ManagedPrivateEndpoint(id, name, type, properties)); }