azure-native-v2.features.SubscriptionFeatureRegistration
Explore with Pulumi AI
Subscription feature registration details Azure REST API version: 2021-07-01. Prior API version in Azure Native 1.x: 2021-07-01.
Create SubscriptionFeatureRegistration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubscriptionFeatureRegistration(name: string, args: SubscriptionFeatureRegistrationArgs, opts?: CustomResourceOptions);
@overload
def SubscriptionFeatureRegistration(resource_name: str,
args: SubscriptionFeatureRegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubscriptionFeatureRegistration(resource_name: str,
opts: Optional[ResourceOptions] = None,
provider_namespace: Optional[str] = None,
feature_name: Optional[str] = None,
properties: Optional[SubscriptionFeatureRegistrationPropertiesArgs] = None)
func NewSubscriptionFeatureRegistration(ctx *Context, name string, args SubscriptionFeatureRegistrationArgs, opts ...ResourceOption) (*SubscriptionFeatureRegistration, error)
public SubscriptionFeatureRegistration(string name, SubscriptionFeatureRegistrationArgs args, CustomResourceOptions? opts = null)
public SubscriptionFeatureRegistration(String name, SubscriptionFeatureRegistrationArgs args)
public SubscriptionFeatureRegistration(String name, SubscriptionFeatureRegistrationArgs args, CustomResourceOptions options)
type: azure-native:features:SubscriptionFeatureRegistration
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. SubscriptionFeatureRegistrationArgs - 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. SubscriptionFeatureRegistrationArgs - 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. SubscriptionFeatureRegistrationArgs - 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. SubscriptionFeatureRegistrationArgs - 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. SubscriptionFeatureRegistrationArgs - 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 subscriptionFeatureRegistrationResource = new AzureNative.Features.SubscriptionFeatureRegistration("subscriptionFeatureRegistrationResource", new()
{
ProviderNamespace = "string",
FeatureName = "string",
Properties =
{
{ "description", "string" },
{ "metadata",
{
{ "string", "string" },
} },
{ "shouldFeatureDisplayInPortal", false },
{ "state", "string" },
},
});
example, err := features.NewSubscriptionFeatureRegistration(ctx, "subscriptionFeatureRegistrationResource", &features.SubscriptionFeatureRegistrationArgs{
ProviderNamespace: "string",
FeatureName: "string",
Properties: map[string]interface{}{
"description": "string",
"metadata": map[string]interface{}{
"string": "string",
},
"shouldFeatureDisplayInPortal": false,
"state": "string",
},
})
var subscriptionFeatureRegistrationResource = new SubscriptionFeatureRegistration("subscriptionFeatureRegistrationResource", SubscriptionFeatureRegistrationArgs.builder()
.providerNamespace("string")
.featureName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
subscription_feature_registration_resource = azure_native.features.SubscriptionFeatureRegistration("subscriptionFeatureRegistrationResource",
provider_namespace=string,
feature_name=string,
properties={
description: string,
metadata: {
string: string,
},
shouldFeatureDisplayInPortal: False,
state: string,
})
const subscriptionFeatureRegistrationResource = new azure_native.features.SubscriptionFeatureRegistration("subscriptionFeatureRegistrationResource", {
providerNamespace: "string",
featureName: "string",
properties: {
description: "string",
metadata: {
string: "string",
},
shouldFeatureDisplayInPortal: false,
state: "string",
},
});
type: azure-native:features:SubscriptionFeatureRegistration
properties:
featureName: string
properties:
description: string
metadata:
string: string
shouldFeatureDisplayInPortal: false
state: string
providerNamespace: string
SubscriptionFeatureRegistration 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 SubscriptionFeatureRegistration resource accepts the following input properties:
- Provider
Namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- Feature
Name Changes to this property will trigger replacement.
- The feature name.
- Properties
Pulumi.
Azure Native. Features. Inputs. Subscription Feature Registration Properties
- Provider
Namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- Feature
Name Changes to this property will trigger replacement.
- The feature name.
- Properties
Subscription
Feature Registration Properties Args
- provider
Namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- feature
Name Changes to this property will trigger replacement.
- The feature name.
- properties
Subscription
Feature Registration Properties
- provider
Namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- feature
Name Changes to this property will trigger replacement.
- The feature name.
- properties
Subscription
Feature Registration Properties
- provider_
namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- feature_
name Changes to this property will trigger replacement.
- The feature name.
- properties
Subscription
Feature Registration Properties Args
- provider
Namespace This property is required. Changes to this property will trigger replacement.
- The provider namespace.
- feature
Name Changes to this property will trigger replacement.
- The feature name.
- properties Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the SubscriptionFeatureRegistration resource produces the following output properties:
Supporting Types
AuthorizationProfileResponse, AuthorizationProfileResponseArgs
- Approved
Time This property is required. string - The approved time
- Approver
This property is required. string - The approver
- Requested
Time This property is required. string - The requested time
- Requester
This property is required. string - The requester
- Requester
Object Id This property is required. string - The requester object id
- Approved
Time This property is required. string - The approved time
- Approver
This property is required. string - The approver
- Requested
Time This property is required. string - The requested time
- Requester
This property is required. string - The requester
- Requester
Object Id This property is required. string - The requester object id
- approved
Time This property is required. String - The approved time
- approver
This property is required. String - The approver
- requested
Time This property is required. String - The requested time
- requester
This property is required. String - The requester
- requester
Object Id This property is required. String - The requester object id
- approved
Time This property is required. string - The approved time
- approver
This property is required. string - The approver
- requested
Time This property is required. string - The requested time
- requester
This property is required. string - The requester
- requester
Object Id This property is required. string - The requester object id
- approved_
time This property is required. str - The approved time
- approver
This property is required. str - The approver
- requested_
time This property is required. str - The requested time
- requester
This property is required. str - The requester
- requester_
object_ id This property is required. str - The requester object id
- approved
Time This property is required. String - The approved time
- approver
This property is required. String - The approver
- requested
Time This property is required. String - The requested time
- requester
This property is required. String - The requester
- requester
Object Id This property is required. String - The requester object id
SubscriptionFeatureRegistrationProperties, SubscriptionFeatureRegistrationPropertiesArgs
- Description string
- The feature description.
- Metadata Dictionary<string, string>
- Key-value pairs for meta data.
- Should
Feature boolDisplay In Portal - Indicates whether feature should be displayed in Portal.
- State
string | Pulumi.
Azure Native. Features. Subscription Feature Registration State - The state.
- Description string
- The feature description.
- Metadata map[string]string
- Key-value pairs for meta data.
- Should
Feature boolDisplay In Portal - Indicates whether feature should be displayed in Portal.
- State
string | Subscription
Feature Registration State Enum - The state.
- description String
- The feature description.
- metadata Map<String,String>
- Key-value pairs for meta data.
- should
Feature BooleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state
String | Subscription
Feature Registration State - The state.
- description string
- The feature description.
- metadata {[key: string]: string}
- Key-value pairs for meta data.
- should
Feature booleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state
string | Subscription
Feature Registration State - The state.
- description str
- The feature description.
- metadata Mapping[str, str]
- Key-value pairs for meta data.
- should_
feature_ booldisplay_ in_ portal - Indicates whether feature should be displayed in Portal.
- state
str | Subscription
Feature Registration State - The state.
- description String
- The feature description.
- metadata Map<String>
- Key-value pairs for meta data.
- should
Feature BooleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state
String | "Not
Specified" | "Not Registered" | "Pending" | "Registering" | "Registered" | "Unregistering" | "Unregistered" - The state.
SubscriptionFeatureRegistrationResponseProperties, SubscriptionFeatureRegistrationResponsePropertiesArgs
- Approval
Type This property is required. string - The feature approval type.
- Display
Name This property is required. string - The featureDisplayName.
- Documentation
Link This property is required. string - The feature documentation link.
- Feature
Name This property is required. string - The featureName.
- Provider
Namespace This property is required. string - The providerNamespace.
- Registration
Date This property is required. string - The feature registration date.
- Release
Date This property is required. string - The feature release date.
- Subscription
Id This property is required. string - The subscriptionId.
- Tenant
Id This property is required. string - The tenantId.
- Pulumi.
Azure Native. Features. Inputs. Authorization Profile Response - Authorization Profile
- Description string
- The feature description.
- Metadata Dictionary<string, string>
- Key-value pairs for meta data.
- Should
Feature boolDisplay In Portal - Indicates whether feature should be displayed in Portal.
- State string
- The state.
- Approval
Type This property is required. string - The feature approval type.
- Display
Name This property is required. string - The featureDisplayName.
- Documentation
Link This property is required. string - The feature documentation link.
- Feature
Name This property is required. string - The featureName.
- Provider
Namespace This property is required. string - The providerNamespace.
- Registration
Date This property is required. string - The feature registration date.
- Release
Date This property is required. string - The feature release date.
- Subscription
Id This property is required. string - The subscriptionId.
- Tenant
Id This property is required. string - The tenantId.
- Authorization
Profile Response - Authorization Profile
- Description string
- The feature description.
- Metadata map[string]string
- Key-value pairs for meta data.
- Should
Feature boolDisplay In Portal - Indicates whether feature should be displayed in Portal.
- State string
- The state.
- approval
Type This property is required. String - The feature approval type.
- display
Name This property is required. String - The featureDisplayName.
- documentation
Link This property is required. String - The feature documentation link.
- feature
Name This property is required. String - The featureName.
- provider
Namespace This property is required. String - The providerNamespace.
- registration
Date This property is required. String - The feature registration date.
- release
Date This property is required. String - The feature release date.
- subscription
Id This property is required. String - The subscriptionId.
- tenant
Id This property is required. String - The tenantId.
- Authorization
Profile Response - Authorization Profile
- description String
- The feature description.
- metadata Map<String,String>
- Key-value pairs for meta data.
- should
Feature BooleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state String
- The state.
- approval
Type This property is required. string - The feature approval type.
- display
Name This property is required. string - The featureDisplayName.
- documentation
Link This property is required. string - The feature documentation link.
- feature
Name This property is required. string - The featureName.
- provider
Namespace This property is required. string - The providerNamespace.
- registration
Date This property is required. string - The feature registration date.
- release
Date This property is required. string - The feature release date.
- subscription
Id This property is required. string - The subscriptionId.
- tenant
Id This property is required. string - The tenantId.
- Authorization
Profile Response - Authorization Profile
- description string
- The feature description.
- metadata {[key: string]: string}
- Key-value pairs for meta data.
- should
Feature booleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state string
- The state.
- approval_
type This property is required. str - The feature approval type.
- display_
name This property is required. str - The featureDisplayName.
- documentation_
link This property is required. str - The feature documentation link.
- feature_
name This property is required. str - The featureName.
- provider_
namespace This property is required. str - The providerNamespace.
- registration_
date This property is required. str - The feature registration date.
- release_
date This property is required. str - The feature release date.
- subscription_
id This property is required. str - The subscriptionId.
- tenant_
id This property is required. str - The tenantId.
- Authorization
Profile Response - Authorization Profile
- description str
- The feature description.
- metadata Mapping[str, str]
- Key-value pairs for meta data.
- should_
feature_ booldisplay_ in_ portal - Indicates whether feature should be displayed in Portal.
- state str
- The state.
- approval
Type This property is required. String - The feature approval type.
- display
Name This property is required. String - The featureDisplayName.
- documentation
Link This property is required. String - The feature documentation link.
- feature
Name This property is required. String - The featureName.
- provider
Namespace This property is required. String - The providerNamespace.
- registration
Date This property is required. String - The feature registration date.
- release
Date This property is required. String - The feature release date.
- subscription
Id This property is required. String - The subscriptionId.
- tenant
Id This property is required. String - The tenantId.
- Property Map
- Authorization Profile
- description String
- The feature description.
- metadata Map<String>
- Key-value pairs for meta data.
- should
Feature BooleanDisplay In Portal - Indicates whether feature should be displayed in Portal.
- state String
- The state.
SubscriptionFeatureRegistrationState, SubscriptionFeatureRegistrationStateArgs
- Not
Specified - NotSpecified
- Not
Registered - NotRegistered
- Pending
- Pending
- Registering
- Registering
- Registered
- Registered
- Unregistering
- Unregistering
- Unregistered
- Unregistered
- Subscription
Feature Registration State Not Specified - NotSpecified
- Subscription
Feature Registration State Not Registered - NotRegistered
- Subscription
Feature Registration State Pending - Pending
- Subscription
Feature Registration State Registering - Registering
- Subscription
Feature Registration State Registered - Registered
- Subscription
Feature Registration State Unregistering - Unregistering
- Subscription
Feature Registration State Unregistered - Unregistered
- Not
Specified - NotSpecified
- Not
Registered - NotRegistered
- Pending
- Pending
- Registering
- Registering
- Registered
- Registered
- Unregistering
- Unregistering
- Unregistered
- Unregistered
- Not
Specified - NotSpecified
- Not
Registered - NotRegistered
- Pending
- Pending
- Registering
- Registering
- Registered
- Registered
- Unregistering
- Unregistering
- Unregistered
- Unregistered
- NOT_SPECIFIED
- NotSpecified
- NOT_REGISTERED
- NotRegistered
- PENDING
- Pending
- REGISTERING
- Registering
- REGISTERED
- Registered
- UNREGISTERING
- Unregistering
- UNREGISTERED
- Unregistered
- "Not
Specified" - NotSpecified
- "Not
Registered" - NotRegistered
- "Pending"
- Pending
- "Registering"
- Registering
- "Registered"
- Registered
- "Unregistering"
- Unregistering
- "Unregistered"
- Unregistered
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:features:SubscriptionFeatureRegistration testFeature /subscriptions/{subscriptionId}/providers/Microsoft.Features/featureProviders/{providerNamespace}/subscriptionFeatureRegistrations/{featureName}
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