Sdílet prostřednictvím


ServiceUnitResource Class

Definition

Represents the response of a service unit resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class ServiceUnitResource : Microsoft.Azure.Management.DeploymentManager.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ServiceUnitResource = class
    inherit TrackedResource
Public Class ServiceUnitResource
Inherits TrackedResource
Inheritance
ServiceUnitResource
Attributes

Constructors

ServiceUnitResource()

Initializes a new instance of the ServiceUnitResource class.

ServiceUnitResource(String, String, DeploymentMode, String, String, String, IDictionary<String,String>, ServiceUnitArtifacts)

Initializes a new instance of the ServiceUnitResource class.

Properties

Artifacts

Gets or sets the artifacts for the service unit.

DeploymentMode

Gets or sets describes the type of ARM deployment to be performed on the resource. Possible values include: 'Incremental', 'Complete'

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)
TargetResourceGroup

Gets or sets the Azure Resource Group to which the resources in the service unit 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