primaryKey
Get the primaryKey property: Subscription primary key. This property will not be filled on 'GET' operations! Use
'/listSecrets' POST request to get the value.
- Returns:
- the primaryKey value.
com.azure.json.JsonSerializable<SubscriptionContractProperties>endDate()fromJson(com.azure.json.JsonReader jsonReader) ownerId()scope()state()com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()withAllowTracing(Boolean allowTracing) withDisplayName(String displayName) withEndDate(OffsetDateTime endDate) withExpirationDate(OffsetDateTime expirationDate) withNotificationDate(OffsetDateTime notificationDate) withOwnerId(String ownerId) withPrimaryKey(String primaryKey) withSecondaryKey(String secondaryKey) withStartDate(OffsetDateTime startDate) withState(SubscriptionState state) withStateComment(String stateComment) clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoJson, toJson, toJsonBytes, toJsonStringownerId - the ownerId value to set.scope - the scope value to set.displayName - the displayName value to set.state - the state value to set.startDate - the startDate value to set.expirationDate - the expirationDate value to set.endDate - the endDate value to set.notificationDate - the notificationDate value to set.primaryKey - the primaryKey value to set.secondaryKey - the secondaryKey value to set.stateComment - the stateComment value to set.allowTracing - the allowTracing value to set.IllegalArgumentException - thrown if the instance is not valid.toJson in interface com.azure.json.JsonSerializable<SubscriptionContractProperties>IOExceptionjsonReader - The JsonReader being read.IllegalStateException - If the deserialized JSON object was missing any required properties.IOException - If an error occurs while reading the SubscriptionContractProperties.