Show / Hide Table of Contents

Class HealthcareApisWorkspacePrivateLinkResource

A Class representing a HealthcareApisWorkspacePrivateLinkResource along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a HealthcareApisWorkspacePrivateLinkResource from an instance of Azure.ResourceManager.ArmClient using the GetHealthcareApisWorkspacePrivateLinkResource method. Otherwise you can get one from its parent resource HealthcareApisWorkspaceResource using the GetHealthcareApisWorkspacePrivateLinkResource method.

Inheritance
Azure.ResourceManager.ArmResource
HealthcareApisWorkspacePrivateLinkResource
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.HealthcareApis.dll
Syntax
public class HealthcareApisWorkspacePrivateLinkResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData>

Constructors

HealthcareApisWorkspacePrivateLinkResource()

Initializes a new instance of the HealthcareApisWorkspacePrivateLinkResource class for mocking.

Declaration
protected HealthcareApisWorkspacePrivateLinkResource ();

Fields

ResourceType

Gets the resource type for the operations.

Declaration
public static readonly Azure.Core.ResourceType ResourceType;
Field Value
Azure.Core.ResourceType

Properties

Data

Gets the data representing this Feature.

Declaration
public virtual Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData Data { get; }
Property Value
HealthcareApisPrivateLinkResourceData

Exceptions
System.InvalidOperationException

Throws if there is no data loaded in the current instance.

HasData

Gets whether or not the current instance has data.

Declaration
public virtual bool HasData { get; }
Property Value
System.Boolean

Methods

CreateResourceIdentifier(String, String, String, String)

Generate the resource identifier of a HealthcareApisWorkspacePrivateLinkResource instance.

Declaration
public static Azure.Core.ResourceIdentifier CreateResourceIdentifier (string subscriptionId, string resourceGroupName, string workspaceName, string groupName);
Parameters
System.String subscriptionId

The subscriptionId.

System.String resourceGroupName

The resourceGroupName.

System.String workspaceName

The workspaceName.

System.String groupName

The groupName.

Returns
Azure.Core.ResourceIdentifier

Get(CancellationToken)

Gets a private link resource that need to be created for a workspace.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources/{groupName}
  • Operation IdWorkspacePrivateLinkResources_Get
  • Default Api Version2024-03-31
  • ResourceHealthcareApisWorkspacePrivateLinkResource
Declaration
public virtual Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspacePrivateLinkResource> Get (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
Azure.Response<HealthcareApisWorkspacePrivateLinkResource>

GetAsync(CancellationToken)

Gets a private link resource that need to be created for a workspace.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources/{groupName}
  • Operation IdWorkspacePrivateLinkResources_Get
  • Default Api Version2024-03-31
  • ResourceHealthcareApisWorkspacePrivateLinkResource
Declaration
[System.Diagnostics.DebuggerStepThrough]
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.HealthcareApisWorkspacePrivateLinkResource>> GetAsync (System.Threading.CancellationToken cancellationToken = null);
Parameters
System.Threading.CancellationToken cancellationToken

The cancellation token to use.

Returns
System.Threading.Tasks.Task<Azure.Response<HealthcareApisWorkspacePrivateLinkResource>>

Explicit Interface Implementations

IJsonModel<HealthcareApisPrivateLinkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

Declaration
Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData IJsonModel<HealthcareApisPrivateLinkResourceData>.Create (ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonReader reader

The System.Text.Json.Utf8JsonReader to read.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
HealthcareApisPrivateLinkResourceData

A T representation of the JSON value.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IJsonModel<HealthcareApisPrivateLinkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

Declaration
void IJsonModel<HealthcareApisPrivateLinkResourceData>.Write (System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.Text.Json.Utf8JsonWriter writer

The System.Text.Json.Utf8JsonWriter to write into.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<HealthcareApisPrivateLinkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

Declaration
Azure.ResourceManager.HealthcareApis.HealthcareApisPrivateLinkResourceData IPersistableModel<HealthcareApisPrivateLinkResourceData>.Create (BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.BinaryData data

The System.BinaryData to parse.

System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
HealthcareApisPrivateLinkResourceData

A T representation of the data.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

IPersistableModel<HealthcareApisPrivateLinkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

Declaration
string IPersistableModel<HealthcareApisPrivateLinkResourceData>.GetFormatFromOptions (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to consider when serializing and deserializing the model.

Returns
System.String

The format that the model uses when communicating with the serivce.

IPersistableModel<HealthcareApisPrivateLinkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Declaration
BinaryData IPersistableModel<HealthcareApisPrivateLinkResourceData>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);
Parameters
System.ClientModel.Primitives.ModelReaderWriterOptions options

The System.ClientModel.Primitives.ModelReaderWriterOptions to use.

Returns
System.BinaryData

A binary representation of the written model.

Exceptions
System.FormatException

If the model does not support the requested System.ClientModel.Primitives.ModelReaderWriterOptions.Format.

Back to top Azure SDK for .NET