FreeServicesData Class

Definition

Free Services resource definition.

public class FreeServicesData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BillingBenefits.FreeServicesData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BillingBenefits.FreeServicesData>
type FreeServicesData = class
    inherit TrackedResourceData
    interface IJsonModel<FreeServicesData>
    interface IPersistableModel<FreeServicesData>
Public Class FreeServicesData
Inherits TrackedResourceData
Implements IJsonModel(Of FreeServicesData), IPersistableModel(Of FreeServicesData)
Inheritance
Implements

Constructors

Name Description
FreeServicesData(AzureLocation)

Initializes a new instance of FreeServicesData.

Properties

Name Description
BillingAccountResourceId

Billing account resource id where the free services metadata is present.

BillingProfileResourceId

Billing profile resource id where the free services are scoped to.

CustomerResourceId

Customer resource id where the free services are scoped to.

EndOn

Expiration date and time of the free services.

ETag

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Id

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

(Inherited from ResourceData)
Identity

Managed service identity (system assigned and/or user assigned identities).

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
ManagedBy

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Name

The name of the resource.

(Inherited from ResourceData)
Plan

Plan for the resource.

ProductCode

This is the catalog UPN for the product.

ProvisioningState

Provisioning state of Free Services as assigned by RPaaS. This indicates the last operation's status. For all practical purposes, this can be ignored. For current status of Free Services resource, refer to FreeServicesStatus.

ResourceType

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

(Inherited from ResourceData)
Sku

The resource model definition representing SKU.

StartOn

Date and time when the free services become active.

Status

Current status of the free services.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
SystemId

This is the globally unique identifier of the free services which will not change for its lifetime.

Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<FreeServicesData>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<FreeServicesData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<FreeServicesData>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<FreeServicesData>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<FreeServicesData>.Write(ModelReaderWriterOptions)

Applies to