azure-native-v2.deviceregistry.DiscoveredAssetEndpointProfile
Explore with Pulumi AI
Discovered Asset Endpoint Profile definition. Azure REST API version: 2024-09-01-preview.
Create DiscoveredAssetEndpointProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DiscoveredAssetEndpointProfile(name: string, args: DiscoveredAssetEndpointProfileArgs, opts?: CustomResourceOptions);
@overload
def DiscoveredAssetEndpointProfile(resource_name: str,
args: DiscoveredAssetEndpointProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DiscoveredAssetEndpointProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
discovery_id: Optional[str] = None,
endpoint_profile_type: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
resource_group_name: Optional[str] = None,
target_address: Optional[str] = None,
version: Optional[float] = None,
additional_configuration: Optional[str] = None,
discovered_asset_endpoint_profile_name: Optional[str] = None,
location: Optional[str] = None,
supported_authentication_methods: Optional[Sequence[Union[str, AuthenticationMethod]]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDiscoveredAssetEndpointProfile(ctx *Context, name string, args DiscoveredAssetEndpointProfileArgs, opts ...ResourceOption) (*DiscoveredAssetEndpointProfile, error)
public DiscoveredAssetEndpointProfile(string name, DiscoveredAssetEndpointProfileArgs args, CustomResourceOptions? opts = null)
public DiscoveredAssetEndpointProfile(String name, DiscoveredAssetEndpointProfileArgs args)
public DiscoveredAssetEndpointProfile(String name, DiscoveredAssetEndpointProfileArgs args, CustomResourceOptions options)
type: azure-native:deviceregistry:DiscoveredAssetEndpointProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DiscoveredAssetEndpointProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. DiscoveredAssetEndpointProfileArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DiscoveredAssetEndpointProfileArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DiscoveredAssetEndpointProfileArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. DiscoveredAssetEndpointProfileArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var discoveredAssetEndpointProfileResource = new AzureNative.Deviceregistry.DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfileResource", new()
{
DiscoveryId = "string",
EndpointProfileType = "string",
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
ResourceGroupName = "string",
TargetAddress = "string",
Version = 0,
AdditionalConfiguration = "string",
DiscoveredAssetEndpointProfileName = "string",
Location = "string",
SupportedAuthenticationMethods = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := deviceregistry.NewDiscoveredAssetEndpointProfile(ctx, "discoveredAssetEndpointProfileResource", &deviceregistry.DiscoveredAssetEndpointProfileArgs{
DiscoveryId: "string",
EndpointProfileType: "string",
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
ResourceGroupName: "string",
TargetAddress: "string",
Version: 0,
AdditionalConfiguration: "string",
DiscoveredAssetEndpointProfileName: "string",
Location: "string",
SupportedAuthenticationMethods: []string{
"string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var discoveredAssetEndpointProfileResource = new DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfileResource", DiscoveredAssetEndpointProfileArgs.builder()
.discoveryId("string")
.endpointProfileType("string")
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.targetAddress("string")
.version(0)
.additionalConfiguration("string")
.discoveredAssetEndpointProfileName("string")
.location("string")
.supportedAuthenticationMethods("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
discovered_asset_endpoint_profile_resource = azure_native.deviceregistry.DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfileResource",
discovery_id=string,
endpoint_profile_type=string,
extended_location={
name: string,
type: string,
},
resource_group_name=string,
target_address=string,
version=0,
additional_configuration=string,
discovered_asset_endpoint_profile_name=string,
location=string,
supported_authentication_methods=[string],
tags={
string: string,
})
const discoveredAssetEndpointProfileResource = new azure_native.deviceregistry.DiscoveredAssetEndpointProfile("discoveredAssetEndpointProfileResource", {
discoveryId: "string",
endpointProfileType: "string",
extendedLocation: {
name: "string",
type: "string",
},
resourceGroupName: "string",
targetAddress: "string",
version: 0,
additionalConfiguration: "string",
discoveredAssetEndpointProfileName: "string",
location: "string",
supportedAuthenticationMethods: ["string"],
tags: {
string: "string",
},
});
type: azure-native:deviceregistry:DiscoveredAssetEndpointProfile
properties:
additionalConfiguration: string
discoveredAssetEndpointProfileName: string
discoveryId: string
endpointProfileType: string
extendedLocation:
name: string
type: string
location: string
resourceGroupName: string
supportedAuthenticationMethods:
- string
tags:
string: string
targetAddress: string
version: 0
DiscoveredAssetEndpointProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DiscoveredAssetEndpointProfile resource accepts the following input properties:
- Discovery
Id This property is required. string - Identifier used to detect changes in the asset endpoint profile.
- Endpoint
Profile Type This property is required. string - Defines the configuration for the connector type that is being used with the endpoint profile.
- Extended
Location This property is required. Changes to this property will trigger replacement.
Azure Native. Device Registry. Inputs. Extended Location - The extended location.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Target
Address This property is required. string - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- Version
This property is required. double - An integer that is incremented each time the resource is modified.
- Additional
Configuration string - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- Discovered
Asset Endpoint Profile Name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Supported
Authentication List<Union<string, Pulumi.Methods Azure Native. Device Registry. Authentication Method>> - List of supported authentication methods supported by the target server.
- Dictionary<string, string>
- Resource tags.
- Discovery
Id This property is required. string - Identifier used to detect changes in the asset endpoint profile.
- Endpoint
Profile Type This property is required. string - Defines the configuration for the connector type that is being used with the endpoint profile.
- Extended
Location This property is required. Changes to this property will trigger replacement.
Location Args - The extended location.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Target
Address This property is required. string - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- Version
This property is required. float64 - An integer that is incremented each time the resource is modified.
- Additional
Configuration string - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- Discovered
Asset Endpoint Profile Name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Supported
Authentication []stringMethods - List of supported authentication methods supported by the target server.
- map[string]string
- Resource tags.
- discovery
Id This property is required. String - Identifier used to detect changes in the asset endpoint profile.
- endpoint
Profile Type This property is required. String - Defines the configuration for the connector type that is being used with the endpoint profile.
- extended
Location This property is required. Changes to this property will trigger replacement.
Location - The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- target
Address This property is required. String - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- version
This property is required. Double - An integer that is incremented each time the resource is modified.
- additional
Configuration String - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- discovered
Asset Endpoint Profile Name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- supported
Authentication List<Either<String,AuthenticationMethods Method>> - List of supported authentication methods supported by the target server.
- Map<String,String>
- Resource tags.
- discovery
Id This property is required. string - Identifier used to detect changes in the asset endpoint profile.
- endpoint
Profile Type This property is required. string - Defines the configuration for the connector type that is being used with the endpoint profile.
- extended
Location This property is required. Changes to this property will trigger replacement.
Location - The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- target
Address This property is required. string - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- version
This property is required. number - An integer that is incremented each time the resource is modified.
- additional
Configuration string - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- discovered
Asset Endpoint Profile Name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- supported
Authentication (string | AuthenticationMethods Method)[] - List of supported authentication methods supported by the target server.
- {[key: string]: string}
- Resource tags.
- discovery_
id This property is required. str - Identifier used to detect changes in the asset endpoint profile.
- endpoint_
profile_ type This property is required. str - Defines the configuration for the connector type that is being used with the endpoint profile.
- extended_
location This property is required. Changes to this property will trigger replacement.
Location Args - The extended location.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- target_
address This property is required. str - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- version
This property is required. float - An integer that is incremented each time the resource is modified.
- additional_
configuration str - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- discovered_
asset_ endpoint_ profile_ name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- supported_
authentication_ Sequence[Union[str, Authenticationmethods Method]] - List of supported authentication methods supported by the target server.
- Mapping[str, str]
- Resource tags.
- discovery
Id This property is required. String - Identifier used to detect changes in the asset endpoint profile.
- endpoint
Profile Type This property is required. String - Defines the configuration for the connector type that is being used with the endpoint profile.
- extended
Location This property is required. Changes to this property will trigger replacement.
- The extended location.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- target
Address This property is required. String - The local valid URI specifying the network address/DNS name of a southbound device. The scheme part of the targetAddress URI specifies the type of the device. The additionalConfiguration field holds further connector type specific configuration.
- version
This property is required. Number - An integer that is incremented each time the resource is modified.
- additional
Configuration String - Stringified JSON that contains connectivity type specific further configuration (e.g. OPC UA, Modbus, ONVIF).
- discovered
Asset Endpoint Profile Name Changes to this property will trigger replacement.
- Discovered Asset Endpoint Profile name parameter.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- supported
Authentication List<String | "Anonymous" | "Certificate" | "UsernameMethods Password"> - List of supported authentication methods supported by the target server.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiscoveredAssetEndpointProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data Pulumi.Azure Native. Device Registry. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AuthenticationMethod, AuthenticationMethodArgs
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- Authentication
Method Anonymous - AnonymousThe user authentication method is anonymous.
- Authentication
Method Certificate - CertificateThe user authentication method is an x509 certificate.
- Authentication
Method Username Password - UsernamePasswordThe user authentication method is a username and password.
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- Anonymous
- AnonymousThe user authentication method is anonymous.
- Certificate
- CertificateThe user authentication method is an x509 certificate.
- Username
Password - UsernamePasswordThe user authentication method is a username and password.
- ANONYMOUS
- AnonymousThe user authentication method is anonymous.
- CERTIFICATE
- CertificateThe user authentication method is an x509 certificate.
- USERNAME_PASSWORD
- UsernamePasswordThe user authentication method is a username and password.
- "Anonymous"
- AnonymousThe user authentication method is anonymous.
- "Certificate"
- CertificateThe user authentication method is an x509 certificate.
- "Username
Password" - UsernamePasswordThe user authentication method is a username and password.
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:deviceregistry:DiscoveredAssetEndpointProfile my-assetendpointprofile /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceRegistry/discoveredAssetEndpointProfiles/{discoveredAssetEndpointProfileName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0