Show / Hide Table of Contents

Class ServiceEnvironment

Detailed information about a service environment.
Note: Service URL formats may vary from the provided example.

Inheritance
object
ServiceEnvironment
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ServicemanagerproxyService.Models
Assembly: OCI.DotNetSDK.Servicemanagerproxy.dll
Syntax
public class ServiceEnvironment

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID for the compartment.

Remarks

Required

ConsoleUrl

Declaration
[JsonProperty(PropertyName = "consoleUrl")]
public string ConsoleUrl { get; set; }
Property Value
Type Description
string

The URL for the console.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Unqiue identifier for the entitlement related to the environment.
Note: Not an OCID.

Remarks

Required

ServiceDefinition

Declaration
[Required(ErrorMessage = "ServiceDefinition is required.")]
[JsonProperty(PropertyName = "serviceDefinition")]
public ServiceDefinition ServiceDefinition { get; set; }
Property Value
Type Description
ServiceDefinition
Remarks

Required

ServiceEnvironmentEndpoints

Declaration
[JsonProperty(PropertyName = "serviceEnvironmentEndpoints")]
public List<ServiceEnvironmentEndPointOverview> ServiceEnvironmentEndpoints { get; set; }
Property Value
Type Description
List<ServiceEnvironmentEndPointOverview>

Array of service environment end points.

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ServiceEntitlementRegistrationStatus? Status { get; set; }
Property Value
Type Description
ServiceEntitlementRegistrationStatus?

Status of the entitlement registration for the service.

Remarks

Required

SubscriptionId

Declaration
[Required(ErrorMessage = "SubscriptionId is required.")]
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
Type Description
string

The unique subscription ID associated with the service environment ID.
Note: Not an OCID.

Remarks

Required

In this article
Back to top