OrganizationResource Class

Definition

Organization Resource by Astronomer

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.OrganizationResourceTypeConverter))]
public class OrganizationResource : Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResource, Microsoft.Azure.PowerShell.Cmdlets.Astro.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.OrganizationResourceTypeConverter))>]
type OrganizationResource = class
    interface IOrganizationResource
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class OrganizationResource
Implements IOrganizationResource, IValidates
Inheritance
OrganizationResource
Attributes
Implements

Constructors

Name Description
OrganizationResource()

Creates an new OrganizationResource instance.

Properties

Name Description
Id

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

IdentityPrincipalId

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityTenantId

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

IdentityType

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

IdentityUserAssignedIdentity

The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.

Location

The geo-location where the resource lives

MarketplaceSubscriptionId

Azure subscription id for the the marketplace offer is purchased from

MarketplaceSubscriptionStatus

Marketplace subscription status

Name

The name of the resource

OfferDetailOfferId

Offer Id for the marketplace offer

OfferDetailPlanId

Plan Id for the marketplace offer

OfferDetailPlanName

Plan Name for the marketplace offer

OfferDetailPublisherId

Publisher Id for the marketplace offer

OfferDetailTermId

Plan Display Name for the marketplace offer

OfferDetailTermUnit

Plan Display Name for the marketplace offer

PartnerOrganizationPropertyOrganizationId

Organization Id in partner's system

PartnerOrganizationPropertyOrganizationName

Organization name in partner's system

PartnerOrganizationPropertyWorkspaceId

Workspace Id in partner's system

PartnerOrganizationPropertyWorkspaceName

Workspace name in partner's system

ProvisioningState

Provisioning state of the resource.

ResourceGroupName

Gets the resource group name

SingleSignOnPropertyAadDomain

List of AAD domains fetched from Microsoft Graph for user.

SingleSignOnPropertyEnterpriseAppId

AAD enterprise application Id used to setup SSO

SingleSignOnPropertyProvisioningState

Provisioning State of the resource

SingleSignOnPropertySingleSignOnState

State of the Single Sign On for the organization

SingleSignOnPropertySingleSignOnUrl

URL for SSO to be used by the partner to redirect the user to their system

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

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

UserEmailAddress

Email address of the user

UserFirstName

First name of the user

UserLastName

Last name of the user

UserPhoneNumber

User's phone number

UserUpn

User's principal name

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OrganizationResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OrganizationResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Astro.Models.IOrganizationResource.

FromJsonString(String)

Creates a new instance of OrganizationResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OrganizationResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to