Resource Constructors
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.
Overloads
Resource() |
Initializes a new instance of the Resource class. |
Resource(String, String, String) |
Initializes a new instance of the Resource class. |
Resource()
Initializes a new instance of the Resource class.
public Resource ();
Public Sub New ()
Applies to
Resource(String, String, String)
Initializes a new instance of the Resource class.
public Resource (string id = default, string name = default, string type = default);
new Microsoft.Azure.Management.PrivateDns.Models.Resource : string * string * string -> Microsoft.Azure.Management.PrivateDns.Models.Resource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing)
Parameters
- id
- String
Fully qualified resource Id for the resource. Example - '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateDnsZones/{privateDnsZoneName}'.
- name
- String
The name of the resource
- type
- String
The type of the resource. Example - 'Microsoft.Network/privateDnsZones'.
Applies to
Azure SDK for .NET