Skip to content

Files

Latest commit

88aa1be · Dec 5, 2023

History

History

DigitalTwins.Autorest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Dec 5, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023
Nov 16, 2023

README.md

Az.DigitalTwins

This directory contains the PowerShell module for the DigitalTwins service.


Status

Az.DigitalTwins

Info

  • Modifiable: yes
  • Generated: all
  • Committed: yes
  • Packaged: yes

Detail

This module was primarily generated via AutoRest using the PowerShell extension.

Module Requirements

Authentication

AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.

Development

For information on how to develop for Az.DigitalTwins, see how-to.md.

AutoRest Configuration

see https://aka.ms/autorest

commit: 9a312bb730561b8e8e3c0ea7c224de38a9d05238
require:
  - $(this-folder)/../../readme.azure.noprofile.md
input-file:
  - $(repo)/specification/digitaltwins/resource-manager/Microsoft.DigitalTwins/stable/2022-05-31/digitaltwins.json

module-version: 0.3.0
title: DigitalTwins
subject-prefix: $(service-name)

identity-correction-for-post: true
resourcegroup-append: true
nested-object-to-string: true

# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
use-extension:
  "@autorest/powershell": "3.x"

directive:
  - where:
      subject: DigitalTwin
    set:
      subject: Instance
  - where:
      subject: DigitalTwinEndpoint
    set:
      subject: Endpoint
  - where:
      subject: DigitalTwinNameAvailability
    set:
      subject: InstanceNameAvailability
  - where:
      verb: Set
    hide: true

  - where:
      subject: Instance
      variant: ^Create$|^CreateViaIdentity$
    remove: true

  - where:
      subject: PrivateEndpointConnection
      variant: ^Create$|^CreateViaIdentity$
    remove: true

  - where:
      variant: ^Update$|^UpdateViaIdentity$|^Check$|^CheckViaIdentity$
    remove: true

  - where:
      verb: New
      subject: Endpoint
    hide: true
  - where:
      verb: New
      subject: TimeSeriesDatabaseConnection
    hide: true

  - where:
      model-name: DigitalTwinsEndpointResource
    set:
      format-table:
        properties:
          - Name
          - EndpointType
          - AuthenticationType
          - ResourceGroupName
  - where:
      model-name: DigitalTwinsDescription
    set:
      format-table:
        properties:
          - Name
          - Location
          - ResourceGroupName
  - where:
      model-name: PrivateEndpointConnection
    set:
      format-table:
        properties:
          - Name
          - GroupId
          - PrivateLinkServiceConnectionStateStatus
          - ResourceGroupName
  - where:
      model-name: GroupIdInformation
    set:
      format-table:
        properties:
          - GroupId
          - Name
          - ResourceGroupName
  - where:
      model-name: TimeSeriesDatabaseConnection
    set:
      format-table:
        properties:
          - Name
          - ConnectionType
          - ProvisioningState
          - ResourceGroupName

  - from: source-file-csharp
    where: $
    transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.IDigitalTwinsEndpointResourceProperties Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.IDigitalTwinsEndpointResourceProperties Property');

  - from: source-file-csharp
    where: $
    transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.ITimeSeriesDatabaseConnectionProperties Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DigitalTwins.Models.Api20220531.ITimeSeriesDatabaseConnectionProperties Property');