SubscriptionContractData 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.
A class representing the SubscriptionContract data model. Subscription details.
public class SubscriptionContractData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.SubscriptionContractData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.SubscriptionContractData>
type SubscriptionContractData = class
inherit ResourceData
interface IJsonModel<SubscriptionContractData>
interface IPersistableModel<SubscriptionContractData>
Public Class SubscriptionContractData
Inherits ResourceData
Implements IJsonModel(Of SubscriptionContractData), IPersistableModel(Of SubscriptionContractData)
- Inheritance
- Implements
Constructors
SubscriptionContractData() |
Initializes a new instance of SubscriptionContractData. |
Properties
AllowTracing |
Determines whether tracing is enabled. |
CreatedOn |
Subscription creation date. The date conforms to the following format: |
DisplayName |
The name of the subscription, or null if the subscription has no name. |
EndOn |
Date when subscription was cancelled or expired. The setting is for audit purposes only and the subscription is not automatically cancelled. The subscription lifecycle can be managed by using the |
ExpireOn |
Subscription expiration date. The setting is for audit purposes only and the subscription is not automatically expired. The subscription lifecycle can be managed by using the |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Name |
The name of the resource. (Inherited from ResourceData) |
NotifiesOn |
Upcoming subscription expiration notification date. The date conforms to the following format: |
OwnerId |
The user resource identifier of the subscription owner. The value is a valid relative URL in the format of /users/{userId} where {userId} is a user identifier. |
PrimaryKey |
Subscription primary key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
Scope |
Scope like /products/{productId} or /apis or /apis/{apiId}. |
SecondaryKey |
Subscription secondary key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value. |
StartOn |
Subscription activation date. The setting is for audit purposes only and the subscription is not automatically activated. The subscription lifecycle can be managed by using the |
State |
Subscription state. Possible states are * active – the subscription is active, * suspended – the subscription is blocked, and the subscriber cannot call any APIs of the product, * submitted – the subscription request has been made by the developer, but has not yet been approved or rejected, * rejected – the subscription request has been denied by an administrator, * cancelled – the subscription has been cancelled by the developer or administrator, * expired – the subscription reached its expiration date and was deactivated. |
StateComment |
Optional subscription comment added by an administrator when the state is changed to the 'rejected'. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<SubscriptionContractData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SubscriptionContractData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SubscriptionContractData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SubscriptionContractData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SubscriptionContractData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |