/// <summary> /// Initializes a new instance of the PrivateEndpointConnectionInner /// class. /// </summary> /// <param name="privateEndpoint">The resource of private end /// point.</param> /// <param name="privateLinkServiceConnectionState">A collection of /// information about the state of the connection between service /// consumer and provider.</param> /// <param name="provisioningState">The provisioning state of the /// private endpoint connection resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="linkIdentifier">The consumer link id.</param> /// <param name="name">The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource.</param> /// <param name="type">The resource type.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public PrivateEndpointConnectionInner(string id = default(string), PrivateEndpointInner privateEndpoint = default(PrivateEndpointInner), PrivateLinkServiceConnectionState privateLinkServiceConnectionState = default(PrivateLinkServiceConnectionState), ProvisioningState provisioningState = default(ProvisioningState), string linkIdentifier = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; LinkIdentifier = linkIdentifier; Name = name; Type = type; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the NetworkInterfaceInner class. /// </summary> /// <param name="virtualMachine">The reference of a virtual /// machine.</param> /// <param name="networkSecurityGroup">The reference of the /// NetworkSecurityGroup resource.</param> /// <param name="privateEndpoint">A reference to the private endpoint /// to which the network interface is linked.</param> /// <param name="ipConfigurations">A list of IPConfigurations of the /// network interface.</param> /// <param name="tapConfigurations">A list of TapConfigurations of the /// network interface.</param> /// <param name="dnsSettings">The DNS settings in network /// interface.</param> /// <param name="macAddress">The MAC address of the network /// interface.</param> /// <param name="primary">Whether this is a primary network interface /// on a virtual machine.</param> /// <param name="enableAcceleratedNetworking">If the network interface /// is accelerated networking enabled.</param> /// <param name="enableIPForwarding">Indicates whether IP forwarding is /// enabled on this network interface.</param> /// <param name="hostedWorkloads">A list of references to linked /// BareMetal resources.</param> /// <param name="resourceGuid">The resource GUID property of the /// network interface resource.</param> /// <param name="provisioningState">The provisioning state of the /// network interface resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed'</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public NetworkInterfaceInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource virtualMachine = default(Management.ResourceManager.Fluent.SubResource), Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default(Management.ResourceManager.Fluent.SubResource), PrivateEndpointInner privateEndpoint = default(PrivateEndpointInner), IList <NetworkInterfaceIPConfigurationInner> ipConfigurations = default(IList <NetworkInterfaceIPConfigurationInner>), IList <NetworkInterfaceTapConfigurationInner> tapConfigurations = default(IList <NetworkInterfaceTapConfigurationInner>), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), bool?enableIPForwarding = default(bool?), IList <string> hostedWorkloads = default(IList <string>), string resourceGuid = default(string), ProvisioningState provisioningState = default(ProvisioningState), string etag = default(string)) : base(location, id, name, type, tags) { VirtualMachine = virtualMachine; NetworkSecurityGroup = networkSecurityGroup; PrivateEndpoint = privateEndpoint; IpConfigurations = ipConfigurations; TapConfigurations = tapConfigurations; DnsSettings = dnsSettings; MacAddress = macAddress; Primary = primary; EnableAcceleratedNetworking = enableAcceleratedNetworking; EnableIPForwarding = enableIPForwarding; HostedWorkloads = hostedWorkloads; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }