ArmDataProtectionBackupModelFactory.DataSourceInfo Method
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.
Datasource to be backed up.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo DataSourceInfo(string dataSourceType = default, string objectType = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.Core.AzureLocation? resourceLocation = default, string resourceName = default, Azure.Core.ResourceType? resourceType = default, string resourceUriString = default, Azure.ResourceManager.DataProtectionBackup.Models.BaseResourceProperties resourceProperties = default);
static member DataSourceInfo : string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.AzureLocation> * string * Nullable<Azure.Core.ResourceType> * string * Azure.ResourceManager.DataProtectionBackup.Models.BaseResourceProperties -> Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo
Public Shared Function DataSourceInfo (Optional dataSourceType As String = Nothing, Optional objectType As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional resourceLocation As Nullable(Of AzureLocation) = Nothing, Optional resourceName As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional resourceUriString As String = Nothing, Optional resourceProperties As BaseResourceProperties = Nothing) As DataSourceInfo
Parameters
- dataSourceType
- String
DatasourceType of the resource.
- objectType
- String
Type of Datasource object, used to initialize the right inherited type.
- resourceId
- ResourceIdentifier
Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault.
- resourceLocation
- Nullable<AzureLocation>
Location of datasource.
- resourceName
- String
Unique identifier of the resource in the context of parent.
- resourceType
- Nullable<ResourceType>
Resource Type of Datasource.
- resourceUriString
- String
Uri of the resource.
- resourceProperties
- BaseResourceProperties
Properties specific to data source.
Returns
A new DataSourceInfo instance for mocking.