Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/planetarycomputer/arm-planetarycomputer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Release History

## 1.0.0-beta.1 (2025-05-26)
## 1.0.0 (2026-03-25)

### Features Added

Initial release of @azure/arm-planetarycomputer
This is the first stable version with the package of @azure/arm-planetarycomputer
2 changes: 1 addition & 1 deletion sdk/planetarycomputer/arm-planetarycomputer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Key links:

- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/planetarycomputer/arm-planetarycomputer)
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-planetarycomputer)
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-planetarycomputer?view=azure-node-preview)
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-planetarycomputer)
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/planetarycomputer/arm-planetarycomputer/samples)

## Getting started
Expand Down
39 changes: 39 additions & 0 deletions sdk/planetarycomputer/arm-planetarycomputer/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"apiVersions": {
"Microsoft.Spatio": "2026-04-15"
},
"emitterVersion": "0.51.0",
"crossLanguageDefinitions": {
"CrossLanguagePackageId": "Microsoft.Spatio",
"CrossLanguageDefinitionId": {
"@azure/arm-planetarycomputer!GeoCatalog:interface": "Microsoft.Spatio.GeoCatalog",
"@azure/arm-planetarycomputer!GeoCatalogProperties:interface": "Microsoft.Spatio.GeoCatalogProperties",
"@azure/arm-planetarycomputer!ManagedServiceIdentity:interface": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity",
"@azure/arm-planetarycomputer!UserAssignedIdentity:interface": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity",
"@azure/arm-planetarycomputer!TrackedResource:interface": "Azure.ResourceManager.CommonTypes.TrackedResource",
"@azure/arm-planetarycomputer!Resource:interface": "Azure.ResourceManager.CommonTypes.Resource",
"@azure/arm-planetarycomputer!SystemData:interface": "Azure.ResourceManager.CommonTypes.SystemData",
"@azure/arm-planetarycomputer!ErrorResponse:interface": "Azure.ResourceManager.CommonTypes.ErrorResponse",
"@azure/arm-planetarycomputer!ErrorDetail:interface": "Azure.ResourceManager.CommonTypes.ErrorDetail",
"@azure/arm-planetarycomputer!ErrorAdditionalInfo:interface": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo",
"@azure/arm-planetarycomputer!ArmOperationStatusResourceProvisioningState:interface": "Azure.ResourceManager.ArmOperationStatus",
"@azure/arm-planetarycomputer!GeoCatalogUpdate:interface": "Microsoft.Spatio.GeoCatalogUpdate",
"@azure/arm-planetarycomputer!ManagedServiceIdentityUpdate:interface": "Microsoft.Spatio.ManagedServiceIdentityUpdate",
"@azure/arm-planetarycomputer!GeoCatalogListResult:interface": "Azure.ResourceManager.ResourceListResult",
"@azure/arm-planetarycomputer!KnownCatalogTier:enum": "Microsoft.Spatio.CatalogTier",
"@azure/arm-planetarycomputer!KnownProvisioningState:enum": "Microsoft.Spatio.ProvisioningState",
"@azure/arm-planetarycomputer!KnownAutoGeneratedDomainNameLabelScope:enum": "Microsoft.Spatio.AutoGeneratedDomainNameLabelScope",
"@azure/arm-planetarycomputer!KnownManagedServiceIdentityType:enum": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType",
"@azure/arm-planetarycomputer!KnowncreatedByType:enum": "Azure.ResourceManager.CommonTypes.createdByType",
"@azure/arm-planetarycomputer!KnownResourceProvisioningState:enum": "Azure.ResourceManager.ResourceProvisioningState",
"@azure/arm-planetarycomputer!KnownVersions:enum": "Microsoft.Spatio.Versions",
"@azure/arm-planetarycomputer!ManagedServiceIdentityUserAssignedIdentity:type": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentity.anonymous",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#listBySubscription:member": "Microsoft.Spatio.GeoCatalogs.listBySubscription",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#listByResourceGroup:member": "Microsoft.Spatio.GeoCatalogs.listByResourceGroup",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#delete:member": "Microsoft.Spatio.GeoCatalogs.delete",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#update:member": "Microsoft.Spatio.GeoCatalogs.update",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#create:member": "Microsoft.Spatio.GeoCatalogs.create",
"@azure/arm-planetarycomputer!GeoCatalogsOperations#get:member": "Microsoft.Spatio.GeoCatalogs.get"
}
}
}
2 changes: 1 addition & 1 deletion sdk/planetarycomputer/arm-planetarycomputer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/arm-planetarycomputer",
"version": "1.0.0-beta.1",
"version": "1.0.0",
"description": "A generated SDK for SpatioClient.",
"engines": {
"node": ">=20.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

```ts

import { Client } from '@azure-rest/core-client';
import { OperationOptions } from '@azure-rest/core-client';
import { OperationState } from '@azure/core-lro';
import { PollerLike } from '@azure/core-lro';
import type { Client } from '@azure-rest/core-client';
import type { OperationOptions } from '@azure-rest/core-client';
import type { OperationState } from '@azure/core-lro';
import type { PollerLike } from '@azure/core-lro';

// @public
export function $delete(context: SpatioContext, resourceGroupName: string, catalogName: string, options?: GeoCatalogsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@

```ts

import { Client } from '@azure-rest/core-client';
import { ClientOptions } from '@azure-rest/core-client';
import { TokenCredential } from '@azure/core-auth';
import type { Client } from '@azure-rest/core-client';
import type { ClientOptions } from '@azure-rest/core-client';
import type { TokenCredential } from '@azure/core-auth';

// @public
export function createSpatio(credential: TokenCredential, subscriptionId: string, options?: SpatioClientOptionalParams): SpatioContext;

// @public
export interface SpatioClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public
export interface SpatioContext extends Client {
apiVersion: string;
apiVersion?: string;
subscriptionId: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type CreatedByType = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, any>;
readonly info?: any;
readonly type?: string;
}

Expand Down Expand Up @@ -95,18 +95,15 @@ export enum KnownProvisioningState {

// @public
export enum KnownVersions {
// (undocumented)
V20240131Preview = "2024-01-31-preview",
// (undocumented)
V20250211Preview = "2025-02-11-preview"
_20260415 = "2026-04-15"
}

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
userAssignedIdentities?: Record<string, UserAssignedIdentity>;
}

// @public
Expand All @@ -115,7 +112,7 @@ export type ManagedServiceIdentityType = string;
// @public
export interface ManagedServiceIdentityUpdate {
type?: ManagedServiceIdentityType;
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
userAssignedIdentities?: Record<string, UserAssignedIdentity>;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,28 @@

```ts

import { AbortSignalLike } from '@azure/abort-controller';
import { ClientOptions } from '@azure-rest/core-client';
import { OperationOptions } from '@azure-rest/core-client';
import { OperationState } from '@azure/core-lro';
import { PathUncheckedResponse } from '@azure-rest/core-client';
import { Pipeline } from '@azure/core-rest-pipeline';
import { PollerLike } from '@azure/core-lro';
import { TokenCredential } from '@azure/core-auth';
import type { AbortSignalLike } from '@azure/abort-controller';
import type { ClientOptions } from '@azure-rest/core-client';
import type { OperationOptions } from '@azure-rest/core-client';
import type { OperationState } from '@azure/core-lro';
import type { PathUncheckedResponse } from '@azure-rest/core-client';
import type { Pipeline } from '@azure/core-rest-pipeline';
import type { PollerLike } from '@azure/core-lro';
import type { TokenCredential } from '@azure/core-auth';

// @public
export type AutoGeneratedDomainNameLabelScope = string;

// @public
export enum AzureClouds {
AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
}

// @public
export type AzureSupportedClouds = `${AzureClouds}`;

// @public
export type CatalogTier = string;

Expand All @@ -29,7 +39,7 @@ export type CreatedByType = string;

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, any>;
readonly info?: any;
readonly type?: string;
}

Expand Down Expand Up @@ -146,18 +156,15 @@ export enum KnownProvisioningState {

// @public
export enum KnownVersions {
// (undocumented)
V20240131Preview = "2024-01-31-preview",
// (undocumented)
V20250211Preview = "2025-02-11-preview"
_20260415 = "2026-04-15"
}

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
userAssignedIdentities?: Record<string, UserAssignedIdentity>;
}

// @public
Expand All @@ -166,7 +173,7 @@ export type ManagedServiceIdentityType = string;
// @public
export interface ManagedServiceIdentityUpdate {
type?: ManagedServiceIdentityType;
userAssignedIdentities?: Record<string, UserAssignedIdentity | null>;
userAssignedIdentities?: Record<string, UserAssignedIdentity>;
}

// @public
Expand Down Expand Up @@ -212,6 +219,7 @@ export class SpatioClient {
// @public
export interface SpatioClientOptionalParams extends ClientOptions {
apiVersion?: string;
cloudSetting?: AzureSupportedClouds;
}

// @public
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to create a GeoCatalog
*
* @summary create a GeoCatalog
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_Create.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_Create.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsCreate(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
const client = new SpatioClient(credential, subscriptionId);
const result = await client.geoCatalogs.create("MyResourceGroup", "MyCatalog", {
properties: {
tier: "Basic",
autoGeneratedDomainNameLabelScope: "NoReuse",
},
properties: { tier: "Basic", autoGeneratedDomainNameLabelScope: "NoReuse" },
identity: {
type: "UserAssigned",
userAssignedIdentities: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to delete a GeoCatalog
*
* @summary delete a GeoCatalog
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_Delete.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_Delete.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsDelete(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to get a GeoCatalog
*
* @summary get a GeoCatalog
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_Get.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_Get.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsGet(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to list GeoCatalog resources by resource group
*
* @summary list GeoCatalog resources by resource group
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_ListByResourceGroup.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_ListByResourceGroup.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsListByResourceGroup(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to list GeoCatalog resources by subscription ID
*
* @summary list GeoCatalog resources by subscription ID
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_ListBySubscription.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_ListBySubscription.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsListBySubscription(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

/**
* This sample demonstrates how to update a GeoCatalog
*
* @summary update a GeoCatalog
* x-ms-original-file: 2025-02-11-preview/GeoCatalogs_Update.json
* x-ms-original-file: 2026-04-15/GeoCatalogs_Update.json
*/

import { SpatioClient } from "@azure/arm-planetarycomputer";
import { DefaultAzureCredential } from "@azure/identity";

async function geoCatalogsUpdate(): Promise<void> {
const credential = new DefaultAzureCredential();
const subscriptionId = "cd9b6cdf-dcf0-4dca-ab19-82be07b74704";
Expand Down
Loading
Loading