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, String, IDictionary<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, String, IDictionary<String,String>, String)
Initializes a new instance of the Resource class.
public Resource (string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string eTag = default);
new Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.Resource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.Resource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional eTag As String = Nothing)
Parameters
- id
- String
Resource Id represents the complete path to the resource.
- name
- String
Resource name associated with the resource.
- type
- String
Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- location
- String
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- eTag
- String
Optional ETag.
Applies to
Azure SDK for .NET