ServiceResource Class
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.
The resource representation of a service in a service topology.
[Microsoft.Rest.Serialization.JsonTransformation]
public class ServiceResource : Microsoft.Azure.Management.DeploymentManager.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ServiceResource = class
inherit TrackedResource
Public Class ServiceResource
Inherits TrackedResource
- Inheritance
- Attributes
Constructors
ServiceResource() |
Initializes a new instance of the ServiceResource class. |
ServiceResource(String, String, String, String, String, String, IDictionary<String,String>) |
Initializes a new instance of the ServiceResource class. |
Properties
Id |
Gets fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
Location |
Gets or sets the geo-location where the resource lives (Inherited from TrackedResource) |
Name |
Gets the name of the resource (Inherited from Resource) |
Tags |
Gets or sets resource tags. (Inherited from TrackedResource) |
TargetLocation |
Gets or sets the Azure location to which the resources in the service belong to or should be deployed to. |
TargetSubscriptionId |
Gets or sets the subscription to which the resources in the service belong to or should be deployed to. |
Type |
Gets the type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. (Inherited from Resource) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기