Udostępnij za pośrednictwem


ServiceResourceData Class

Definition

A class representing the ServiceResource data model. The resource representation of a service in a service topology.

public class ServiceResourceData : Azure.ResourceManager.Models.TrackedResourceData
type ServiceResourceData = class
    inherit TrackedResourceData
Public Class ServiceResourceData
Inherits TrackedResourceData
Inheritance

Constructors

ServiceResourceData(AzureLocation, String, String)

Initializes a new instance of ServiceResourceData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TargetLocation

The Azure location to which the resources in the service belong to or should be deployed to.

TargetSubscriptionId

The subscription to which the resources in the service belong to or should be deployed to.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Applies to